Module: LHS::Service::Mapping
- Extended by:
- ActiveSupport::Concern
- Included in:
- LHS::Service
- Defined in:
- lib/lhs/concerns/service/mapping.rb
Overview
Mapping allows to configure some accessors that access data using a provided proc
Defined Under Namespace
Modules: ClassMethods
Instance Attribute Summary collapse
-
#mapping ⇒ Object
Returns the value of attribute mapping.
Instance Method Summary collapse
Instance Attribute Details
#mapping ⇒ Object
Returns the value of attribute mapping.
9 10 11 |
# File 'lib/lhs/concerns/service/mapping.rb', line 9 def mapping @mapping end |
Instance Method Details
#initialize ⇒ Object
18 19 20 21 |
# File 'lib/lhs/concerns/service/mapping.rb', line 18 def initialize self.mapping = {} super end |