Sha256: f5f103cafd27a034b7c1e9a9c9f61d9816394d8d0f6c9b0daa8c8c68f4497354

Contents?: true

Size: 327 Bytes

Versions: 11

Compression:

Stored size: 327 Bytes

Contents

# frozen_string_literal: true

module LedgerSync
  module QuickBooksOnline
    class Currency < QuickBooksOnline::Resource
      attribute :ExchangeRate, type: Type::Float
      attribute :Name, type: Type::String
      attribute :Symbol, type: Type::String

      def ledger_id
        self.Symbol
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
ledger_sync-quickbooks_online-1.0.0 lib/ledger_sync/quickbooks_online/resources/currency.rb
ledger_sync-quickbooks_online-0.4.0 lib/ledger_sync/quickbooks_online/resources/currency.rb
ledger_sync-quickbooks_online-0.3.1 lib/ledger_sync/quickbooks_online/resources/currency.rb
ledger_sync-quickbooks_online-0.3.0 lib/ledger_sync/quickbooks_online/resources/currency.rb
ledger_sync-quickbooks_online-0.2.6 lib/ledger_sync/quickbooks_online/resources/currency.rb
ledger_sync-quickbooks_online-0.2.5 lib/ledger_sync/quickbooks_online/resources/currency.rb
ledger_sync-quickbooks_online-0.2.4 lib/ledger_sync/quickbooks_online/resources/currency.rb
ledger_sync-quickbooks_online-0.2.2 lib/ledger_sync/quickbooks_online/resources/currency.rb
ledger_sync-quickbooks_online-0.2.1 lib/ledger_sync/quickbooks_online/resources/currency.rb
ledger_sync-quickbooks_online-0.2.0 lib/ledger_sync/quickbooks_online/resources/currency.rb
ledger_sync-quickbooks_online-0.1.1 lib/ledger_sync/quickbooks_online/resources/currency.rb