Sha256: 3d3fe3d18e8e47b2c00f5a6d26caac355c5b09777eaacdd0cfe6f0fb4d5079f6

Contents?: true

Size: 471 Bytes

Versions: 8

Compression:

Stored size: 471 Bytes

Contents

# frozen_string_literal: true

module LedgerSync
  module Ledgers
    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
end

Version data entries

8 entries across 8 versions & 1 rubygems

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