Module: ActiveModel::FormObject::StrongParameters

Defined in:
lib/active_model/form_object/strong_parameters.rb

Defined Under Namespace

Modules: ClassMethods Classes: StrongParameters

Class Method Summary collapse

Class Method Details

.included(klass) ⇒ Object



5
6
7
8
# File 'lib/active_model/form_object/strong_parameters.rb', line 5

def self.included(klass)
  klass.extend(ClassMethods)
  attr_accessor :unpermitted_attrs
end