Sha256: 84007dab3c9ef6fc9b9dd67e85c69b6c545924b42ec026b760249187d126279b

Contents?: true

Size: 545 Bytes

Versions: 5

Compression:

Stored size: 545 Bytes

Contents

# frozen_string_literal: true

module LedgerSync
  module Adaptors
    module NetSuite
      module Account
        class LedgerSerializer < NetSuite::LedgerSerializer
          api_resource_type :account

          attribute ledger_attribute: :acctname,
                    resource_attribute: :name

          attribute ledger_attribute: :accttype,
                    resource_attribute: :account_type

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ledger_sync-1.3.5 lib/ledger_sync/adaptors/netsuite/account/ledger_serializer.rb
ledger_sync-1.3.4 lib/ledger_sync/adaptors/netsuite/account/ledger_serializer.rb
ledger_sync-1.3.3 lib/ledger_sync/adaptors/netsuite/account/ledger_serializer.rb
ledger_sync-1.3.2 lib/ledger_sync/adaptors/netsuite/account/ledger_serializer.rb
ledger_sync-1.3.1 lib/ledger_sync/adaptors/netsuite/account/ledger_serializer.rb