Class: LedgerSync::Serialization::Type::ReferencesManyType
- Inherits:
-
SerializerType
- Object
- ValueType
- SerializerType
- LedgerSync::Serialization::Type::ReferencesManyType
- Defined in:
- lib/ledger_sync/serialization/type/references_many_type.rb
Instance Attribute Summary
Attributes inherited from SerializerType
Instance Method Summary collapse
Methods inherited from SerializerType
Constructor Details
This class inherits a constructor from LedgerSync::Serialization::Type::SerializerType
Instance Method Details
#convert(args = {}) ⇒ Object
9 10 11 12 13 14 15 |
# File 'lib/ledger_sync/serialization/type/references_many_type.rb', line 9 def convert(args = {}) value = args.fetch(:value) value.map do |one_value| super(value: one_value) end end |