Module: RSchema::Rails::Controller

Defined in:
lib/rschema/rails.rb

Overview

A mixin for ActionController that provides methods for validating params.

Defined Under Namespace

Modules: ClassMethods, InstanceMethods

Class Method Summary collapse

Class Method Details

.included(klass) ⇒ Object


12
13
14
15
# File 'lib/rschema/rails.rb', line 12

def self.included(klass)
  klass.include(InstanceMethods)
  klass.extend(ClassMethods)
end