Sha256: c8702b1b23556991de63b7cea131368c5e95a9e835da199d4a204e3088ea7021

Contents?: true

Size: 454 Bytes

Versions: 6

Compression:

Stored size: 454 Bytes

Contents

# frozen_string_literal: true

module LedgerSync
  module Ledgers
    module TestLedger
      class Customer
        class Deserializer < TestLedger::Deserializer
          id

          attribute :name
          attribute :email
          attribute :date

          references_one :subsidiary, deserializer: Subsidiary::Deserializer
          references_many :subsidiaries, deserializer: Subsidiary::Deserializer
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
ledger_sync-1.8.1 lib/ledger_sync/test/support/test_ledger/customer/deserializer.rb
ledger_sync-1.8.0 lib/ledger_sync/test/support/test_ledger/customer/deserializer.rb
ledger_sync-1.7.0 lib/ledger_sync/test/support/test_ledger/customer/deserializer.rb
ledger_sync-1.6.0 lib/ledger_sync/test/support/test_ledger/customer/deserializer.rb
ledger_sync-1.5.2 lib/ledger_sync/test/support/test_ledger/customer/deserializer.rb
ledger_sync-1.5.1 lib/ledger_sync/test/support/test_ledger/customer/deserializer.rb