Module: Dozer::Mapperable
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/dozer/mapperable.rb
Defined Under Namespace
Modules: ClassMethods
Instance Method Summary collapse
Instance Method Details
#initialize(input) ⇒ Object
9 10 11 12 |
# File 'lib/dozer/mapperable.rb', line 9 def initialize(input) @input = input.with_indifferent_access @output = ActiveSupport::HashWithIndifferentAccess.new end |