Sha256: d92857bb83cf4c02fc8e87d7431ab60e3cf73416e06324a86c2ab630482cb10e

Contents?: true

Size: 464 Bytes

Versions: 18

Compression:

Stored size: 464 Bytes

Contents

# frozen_string_literal: true

require_relative 'subsidiary'

module LedgerSync
  module Ledgers
    module TestLedger
      class Customer < TestLedger::Resource
        attribute :name, type: LedgerSync::Type::String
        attribute :email, type: LedgerSync::Type::String
        attribute :date, type: LedgerSync::Type::Date

        references_one :subsidiary, to: Subsidiary
        references_many :subsidiaries, to: Subsidiary
      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/resources/customer.rb
ledger_sync-2.6.0 lib/ledger_sync/test/support/test_ledger/resources/customer.rb
ledger_sync-2.5.0 lib/ledger_sync/test/support/test_ledger/resources/customer.rb
ledger_sync-2.4.4 lib/ledger_sync/test/support/test_ledger/resources/customer.rb
ledger_sync-2.3.1 lib/ledger_sync/test/support/test_ledger/resources/customer.rb
ledger_sync-2.2.3 lib/ledger_sync/test/support/test_ledger/resources/customer.rb
ledger_sync-2.2.1 lib/ledger_sync/test/support/test_ledger/resources/customer.rb
ledger_sync-2.2.0 lib/ledger_sync/test/support/test_ledger/resources/customer.rb
ledger_sync-2.0.2 lib/ledger_sync/test/support/test_ledger/resources/customer.rb
ledger_sync-2.0.1 lib/ledger_sync/test/support/test_ledger/resources/customer.rb
ledger_sync-2.0.0 lib/ledger_sync/test/support/test_ledger/resources/customer.rb
ledger_sync-2.0.0.pre.1 lib/ledger_sync/test/support/test_ledger/resources/customer.rb
ledger_sync-1.8.1 lib/ledger_sync/test/support/test_ledger/resources/customer.rb
ledger_sync-1.8.0 lib/ledger_sync/test/support/test_ledger/resources/customer.rb
ledger_sync-1.7.0 lib/ledger_sync/test/support/test_ledger/resources/customer.rb
ledger_sync-1.6.0 lib/ledger_sync/test/support/test_ledger/resources/customer.rb
ledger_sync-1.5.2 lib/ledger_sync/test/support/test_ledger/resources/customer.rb
ledger_sync-1.5.1 lib/ledger_sync/test/support/test_ledger/resources/customer.rb