Sha256: e26d955063a4c3ff8e3432ba277442c166986e72de4e08856aefb628fff74e61

Contents?: true

Size: 501 Bytes

Versions: 11

Compression:

Stored size: 501 Bytes

Contents

# frozen_string_literal: true

require_relative '../subsidiary/deserializer'

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

11 entries across 11 versions & 1 rubygems

Version Path
ledger_sync-2.6.0 lib/ledger_sync/test/support/test_ledger/customer/deserializer.rb
ledger_sync-2.5.0 lib/ledger_sync/test/support/test_ledger/customer/deserializer.rb
ledger_sync-2.4.4 lib/ledger_sync/test/support/test_ledger/customer/deserializer.rb
ledger_sync-2.3.1 lib/ledger_sync/test/support/test_ledger/customer/deserializer.rb
ledger_sync-2.2.3 lib/ledger_sync/test/support/test_ledger/customer/deserializer.rb
ledger_sync-2.2.1 lib/ledger_sync/test/support/test_ledger/customer/deserializer.rb
ledger_sync-2.2.0 lib/ledger_sync/test/support/test_ledger/customer/deserializer.rb
ledger_sync-2.0.2 lib/ledger_sync/test/support/test_ledger/customer/deserializer.rb
ledger_sync-2.0.1 lib/ledger_sync/test/support/test_ledger/customer/deserializer.rb
ledger_sync-2.0.0 lib/ledger_sync/test/support/test_ledger/customer/deserializer.rb
ledger_sync-2.0.0.pre.1 lib/ledger_sync/test/support/test_ledger/customer/deserializer.rb