Class: LedgerSync::Ledgers::TestLedger::Deserializer

Inherits:
Deserializer
  • Object
show all
Defined in:
lib/ledger_sync/test/support/test_ledger/deserializer.rb

Class Method Summary collapse

Methods inherited from Deserializer

attribute, attribute_class, #attribute_value_from_ledger, attributes, #deserialize, deserializer_from, references_many, references_one

Methods included from Serialization::Mixin

included

Class Method Details

.idObject



9
10
11
# File 'lib/ledger_sync/test/support/test_ledger/deserializer.rb', line 9

def self.id
  attribute(:ledger_id, hash_attribute: 'Id')
end