Sha256: 60b48dd47a2e263971431efae2306b7457648cd6b229af388ce6aee1b73f4cfe

Contents?: true

Size: 422 Bytes

Versions: 14

Compression:

Stored size: 422 Bytes

Contents

# frozen_string_literal: true

module LedgerSync
  module NetSuite
    class Account
      class Serializer < NetSuite::Serializer
        attribute :name,
                  ledger_attribute: :acctname

        mapping :accttype,
                resource_attribute: :account_type,
                hash: Account::TYPES

        attribute :number,
                  ledger_attribute: :acctnumber
      end
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
ledger_sync-netsuite-0.6.2 lib/ledger_sync/netsuite/account/serializer.rb
ledger_sync-netsuite-0.6.1 lib/ledger_sync/netsuite/account/serializer.rb
ledger_sync-netsuite-0.6.0 lib/ledger_sync/netsuite/account/serializer.rb
ledger_sync-netsuite-0.5.0 lib/ledger_sync/netsuite/account/serializer.rb
ledger_sync-netsuite-0.4.2 lib/ledger_sync/netsuite/account/serializer.rb
ledger_sync-netsuite-0.3.6 lib/ledger_sync/netsuite/account/serializer.rb
ledger_sync-netsuite-0.3.5 lib/ledger_sync/netsuite/account/serializer.rb
ledger_sync-netsuite-0.3.4 lib/ledger_sync/netsuite/account/serializer.rb
ledger_sync-netsuite-0.3.3 lib/ledger_sync/netsuite/account/serializer.rb
ledger_sync-netsuite-0.3.2 lib/ledger_sync/netsuite/account/serializer.rb
ledger_sync-netsuite-0.3.1 lib/ledger_sync/netsuite/account/serializer.rb
ledger_sync-netsuite-0.3.0 lib/ledger_sync/netsuite/account/serializer.rb
ledger_sync-netsuite-0.2.0 lib/ledger_sync/netsuite/account/serializer.rb
ledger_sync-netsuite-0.1.1 lib/ledger_sync/netsuite/account/serializer.rb