Class: Bitfinex::Models::Wallet
Constant Summary collapse
- BOOL_FIELDS =
[]
- FIELDS =
{ :type => 0, :currency => 1, :balance => 2, :unsettled_interest => 3, :balance_available => 4 }
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(data) ⇒ Wallet
constructor
A new instance of Wallet.
Methods inherited from Model
Constructor Details
#initialize(data) ⇒ Wallet
Returns a new instance of Wallet.
19 20 21 |
# File 'lib/models/wallet.rb', line 19 def initialize (data) super(data, FIELDS, BOOL_FIELDS) end |
Class Method Details
.unserialize(data) ⇒ Object
23 24 25 |
# File 'lib/models/wallet.rb', line 23 def self.unserialize (data) return Model.unserialize(data, FIELDS, BOOL_FIELDS) end |