Class: Bitex::Transaction
- Inherits:
-
Object
- Object
- Bitex::Transaction
- Defined in:
- lib/bitex/transaction.rb
Overview
Utility class for fetching an heterogeneous list of objects that compose your transaction history.
Class Method Summary collapse
-
.all ⇒ Array<Bitex::Buy, Bitex::Sell, Bitex::SpecieDeposit, Bitex::SpecieWithdrawal, Bitex::UsdDeposit, Bitex::UsdWithdrawal>
Returns an heterogeneous array with all your transactions for the past 30 days sorted by descending date.
Class Method Details
.all ⇒ Array<Bitex::Buy, Bitex::Sell, Bitex::SpecieDeposit, Bitex::SpecieWithdrawal, Bitex::UsdDeposit, Bitex::UsdWithdrawal>
Returns an heterogeneous array with all your transactions for the past 30 days sorted by descending date.
10 11 12 |
# File 'lib/bitex/transaction.rb', line 10 def self.all Api.private(:GET, '/private/transactions').collect{|o| Api.deserialize(o) } end |