Sha256: fc0aec895afb3710e0d2ded0bf9dd393ae60645a7b7e42eec31018e4fe634ca7

Contents?: true

Size: 488 Bytes

Versions: 8

Compression:

Stored size: 488 Bytes

Contents

# frozen_string_literal: true

module LedgerSync
  module Ledgers
    module NetSuite
      class Account
        class Deserializer < NetSuite::Deserializer
          id

          attribute :name,
                    hash_attribute: :acctname

          mapping :account_type,
                  hash_attribute: :accttype,
                  hash: Account::TYPES.invert

          attribute :number,
                    hash_attribute: :acctnumber
        end
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
ledger_sync-1.6.0 lib/ledger_sync/ledgers/netsuite/account/deserializer.rb
ledger_sync-1.5.2 lib/ledger_sync/ledgers/netsuite/account/deserializer.rb
ledger_sync-1.5.1 lib/ledger_sync/ledgers/netsuite/account/deserializer.rb
ledger_sync-1.5.0 lib/ledger_sync/ledgers/netsuite/account/deserializer.rb
ledger_sync-1.4.4 lib/ledger_sync/ledgers/netsuite/account/deserializer.rb
ledger_sync-1.4.2 lib/ledger_sync/ledgers/netsuite/account/deserializer.rb
ledger_sync-1.4.1 lib/ledger_sync/ledgers/netsuite/account/deserializer.rb
ledger_sync-1.4.0 lib/ledger_sync/ledgers/netsuite/account/deserializer.rb