Sha256: 6149bce9810f139654f34100a9fdff12c37edf192e552282e6222a8f5c4c0828

Contents?: true

Size: 512 Bytes

Versions: 4

Compression:

Stored size: 512 Bytes

Contents

# frozen_string_literal: true

module LedgerSync
  module Ledgers
    module QuickBooksOnline
      class Department
        class Deserializer < QuickBooksOnline::Deserializer
          id

          attribute :Name
          attribute :Active
          attribute :SubDepartment
          attribute :FullyQualifiedName

          references_one :Parent,
                         hash_attribute: 'ParentRef',
                         deserializer: Reference::Deserializer
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ledger_sync-1.6.0 lib/ledger_sync/ledgers/quickbooks_online/department/deserializer.rb
ledger_sync-1.5.2 lib/ledger_sync/ledgers/quickbooks_online/department/deserializer.rb
ledger_sync-1.5.1 lib/ledger_sync/ledgers/quickbooks_online/department/deserializer.rb
ledger_sync-1.5.0 lib/ledger_sync/ledgers/quickbooks_online/department/deserializer.rb