Sha256: 566a7a9026409a70d500834ae2f8adf139b2afde9d7e531979fc5a2ff0254e7b

Contents?: true

Size: 649 Bytes

Versions: 5

Compression:

Stored size: 649 Bytes

Contents

# frozen_string_literal: true

module LedgerSync
  module Adaptors
    module NetSuite
      module Currency
        class LedgerSerializer < NetSuite::LedgerSerializer
          api_resource_type :currency

          attribute ledger_attribute: :name,
                    resource_attribute: :name

          attribute ledger_attribute: :externalid,
                    resource_attribute: :external_id

          attribute ledger_attribute: :symbol,
                    resource_attribute: :symbol

          attribute ledger_attribute: :exchangerate,
                    resource_attribute: :exchange_rate
        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/currency/ledger_serializer.rb
ledger_sync-1.3.4 lib/ledger_sync/adaptors/netsuite/currency/ledger_serializer.rb
ledger_sync-1.3.3 lib/ledger_sync/adaptors/netsuite/currency/ledger_serializer.rb
ledger_sync-1.3.2 lib/ledger_sync/adaptors/netsuite/currency/ledger_serializer.rb
ledger_sync-1.3.1 lib/ledger_sync/adaptors/netsuite/currency/ledger_serializer.rb