Class: Bitfinex::Models::UserInfo
- Defined in:
- lib/models/user_info.rb
Constant Summary collapse
- BOOL_FIELDS =
[]
- FIELDS =
{ :id => 0, :email => 1, :username => 2, :timezone => 7 }
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(data) ⇒ UserInfo
constructor
A new instance of UserInfo.
Methods inherited from Model
Constructor Details
#initialize(data) ⇒ UserInfo
Returns a new instance of UserInfo.
18 19 20 |
# File 'lib/models/user_info.rb', line 18 def initialize (data) super(data, FIELDS, BOOL_FIELDS) end |
Class Method Details
.unserialize(data) ⇒ Object
22 23 24 |
# File 'lib/models/user_info.rb', line 22 def self.unserialize (data) return Model.unserialize(data, FIELDS, BOOL_FIELDS) end |