Sha256: 7dd48b3e50c3e62520519bd65b98c9e12336423d6d9b8caee5c73d64f6f2bba2

Contents?: true

Size: 389 Bytes

Versions: 18

Compression:

Stored size: 389 Bytes

Contents

# frozen_string_literal: true

require_relative '../subsidiary/serializer'

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

          attribute :name
          attribute :email

          references_one :subsidiary
          references_many :subsidiaries
        end
      end
    end
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
ledger_sync-3.0.0 lib/ledger_sync/test/support/test_ledger/customer/serializer.rb
ledger_sync-2.6.0 lib/ledger_sync/test/support/test_ledger/customer/serializer.rb
ledger_sync-2.5.0 lib/ledger_sync/test/support/test_ledger/customer/serializer.rb
ledger_sync-2.4.4 lib/ledger_sync/test/support/test_ledger/customer/serializer.rb
ledger_sync-2.3.1 lib/ledger_sync/test/support/test_ledger/customer/serializer.rb
ledger_sync-2.2.3 lib/ledger_sync/test/support/test_ledger/customer/serializer.rb
ledger_sync-2.2.1 lib/ledger_sync/test/support/test_ledger/customer/serializer.rb
ledger_sync-2.2.0 lib/ledger_sync/test/support/test_ledger/customer/serializer.rb
ledger_sync-2.0.2 lib/ledger_sync/test/support/test_ledger/customer/serializer.rb
ledger_sync-2.0.1 lib/ledger_sync/test/support/test_ledger/customer/serializer.rb
ledger_sync-2.0.0 lib/ledger_sync/test/support/test_ledger/customer/serializer.rb
ledger_sync-2.0.0.pre.1 lib/ledger_sync/test/support/test_ledger/customer/serializer.rb
ledger_sync-1.8.1 lib/ledger_sync/test/support/test_ledger/customer/serializer.rb
ledger_sync-1.8.0 lib/ledger_sync/test/support/test_ledger/customer/serializer.rb
ledger_sync-1.7.0 lib/ledger_sync/test/support/test_ledger/customer/serializer.rb
ledger_sync-1.6.0 lib/ledger_sync/test/support/test_ledger/customer/serializer.rb
ledger_sync-1.5.2 lib/ledger_sync/test/support/test_ledger/customer/serializer.rb
ledger_sync-1.5.1 lib/ledger_sync/test/support/test_ledger/customer/serializer.rb