Sha256: ccbc3a4a19f48a486ef91543f311861defb93792d0cf450d6ba4eb527f1a126b

Contents?: true

Size: 642 Bytes

Versions: 13

Compression:

Stored size: 642 Bytes

Contents

# frozen_string_literal: true

require_relative '../primary_phone/serializer'
require_relative '../primary_email_addr/serializer'

module LedgerSync
  module QuickBooksOnline
    class Vendor
      class Serializer < QuickBooksOnline::Serializer
        id

        attribute :DisplayName
        attribute :GivenName
        attribute :MiddleName
        attribute :FamilyName
        attribute :CompanyName

        references_one :PrimaryPhone,
                       serializer: PrimaryPhone::Serializer
        references_one :PrimaryEmailAddr,
                       serializer: PrimaryEmailAddr::Serializer
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
ledger_sync-quickbooks_online-2.0.0 lib/ledger_sync/quickbooks_online/vendor/serializer.rb
ledger_sync-quickbooks_online-1.0.1 lib/ledger_sync/quickbooks_online/vendor/serializer.rb
ledger_sync-quickbooks_online-1.0.0 lib/ledger_sync/quickbooks_online/vendor/serializer.rb
ledger_sync-quickbooks_online-0.4.0 lib/ledger_sync/quickbooks_online/vendor/serializer.rb
ledger_sync-quickbooks_online-0.3.1 lib/ledger_sync/quickbooks_online/vendor/serializer.rb
ledger_sync-quickbooks_online-0.3.0 lib/ledger_sync/quickbooks_online/vendor/serializer.rb
ledger_sync-quickbooks_online-0.2.6 lib/ledger_sync/quickbooks_online/vendor/serializer.rb
ledger_sync-quickbooks_online-0.2.5 lib/ledger_sync/quickbooks_online/vendor/serializer.rb
ledger_sync-quickbooks_online-0.2.4 lib/ledger_sync/quickbooks_online/vendor/serializer.rb
ledger_sync-quickbooks_online-0.2.2 lib/ledger_sync/quickbooks_online/vendor/serializer.rb
ledger_sync-quickbooks_online-0.2.1 lib/ledger_sync/quickbooks_online/vendor/serializer.rb
ledger_sync-quickbooks_online-0.2.0 lib/ledger_sync/quickbooks_online/vendor/serializer.rb
ledger_sync-quickbooks_online-0.1.1 lib/ledger_sync/quickbooks_online/vendor/serializer.rb