Class: Deserializer::Attribute::NestedAssociation
- Inherits:
-
Association
- Object
- Base
- Association
- Deserializer::Attribute::NestedAssociation
- Defined in:
- lib/deserializer/attribute/nested_association.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Deserializer::Attribute::Base
Instance Method Details
#to_hash(params) ⇒ Object
5 6 7 |
# File 'lib/deserializer/attribute/nested_association.rb', line 5 def to_hash( params ) { name => deserializer.from_params( params ) } end |