Sha256: 85b871622dd6ba2ce1a1e7e4e2dd01d487046bcb29e39b0b9a307ee2ef04e4b1

Contents?: true

Size: 746 Bytes

Versions: 5

Compression:

Stored size: 746 Bytes

Contents

# frozen_string_literal: true

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

          attribute ledger_attribute: :id,
                    resource_attribute: :ledger_id

          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/deledger_serializer.rb
ledger_sync-1.3.4 lib/ledger_sync/adaptors/netsuite/currency/deledger_serializer.rb
ledger_sync-1.3.3 lib/ledger_sync/adaptors/netsuite/currency/deledger_serializer.rb
ledger_sync-1.3.2 lib/ledger_sync/adaptors/netsuite/currency/deledger_serializer.rb
ledger_sync-1.3.1 lib/ledger_sync/adaptors/netsuite/currency/deledger_serializer.rb