Class: Bitfinex::Models::Movement
Constant Summary collapse
- BOOL_FIELDS =
[]
- FIELDS =
{ :id => 0, :currency => 1, :currency_name => 2, :mts_started => 5, :mts_updated => 6, :status => 9, :amount => 12, :fees => 13, :destination_address => 16, :transaction_id => 20 }
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(data) ⇒ Movement
constructor
A new instance of Movement.
Methods inherited from Model
Constructor Details
#initialize(data) ⇒ Movement
Returns a new instance of Movement.
24 25 26 |
# File 'lib/models/movement.rb', line 24 def initialize (data) super(data, FIELDS, BOOL_FIELDS) end |
Class Method Details
.unserialize(data) ⇒ Object
28 29 30 |
# File 'lib/models/movement.rb', line 28 def self.unserialize (data) return Model.unserialize(data, FIELDS, BOOL_FIELDS) end |