Module: AttributesMapper::HasAttributes

Extended by:
ActiveSupport::Concern
Included in:
Builder
Defined in:
lib/attributes-mapper/has_attributes.rb

Defined Under Namespace

Modules: ConfigurationInstanceMethods, ConfigurationMethods

Constant Summary collapse

SCOPE =
:scope
ALLOWED_PARAMETERS =
[
  :from,
  :transform,
  :fallback,
  :skip_if,
  SCOPE
].freeze

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



88
89
90
91
# File 'lib/attributes-mapper/has_attributes.rb', line 88

def self.included(base)
  base.singleton_class.include(ConfigurationMethods)
  base.include(ConfigurationInstanceMethods)
end