Class: Bitreserve::Entities::User
- Inherits:
-
BaseEntity
- Object
- BaseEntity
- Bitreserve::Entities::User
- Defined in:
- lib/bitreserve/entities/user.rb
Instance Attribute Summary collapse
-
#balances ⇒ Object
readonly
Returns the value of attribute balances.
-
#country ⇒ Object
readonly
Returns the value of attribute country.
-
#currencies ⇒ Object
readonly
Returns the value of attribute currencies.
-
#email ⇒ Object
readonly
Returns the value of attribute email.
-
#first_name ⇒ Object
readonly
Returns the value of attribute first_name.
-
#last_name ⇒ Object
readonly
Returns the value of attribute last_name.
-
#settings ⇒ Object
readonly
Returns the value of attribute settings.
-
#state ⇒ Object
readonly
Returns the value of attribute state.
-
#status ⇒ Object
readonly
Returns the value of attribute status.
-
#username ⇒ Object
readonly
Returns the value of attribute username.
Instance Method Summary collapse
Methods inherited from BaseEntity
Constructor Details
This class inherits a constructor from Bitreserve::Entities::BaseEntity
Instance Attribute Details
#balances ⇒ Object (readonly)
Returns the value of attribute balances.
4 5 6 |
# File 'lib/bitreserve/entities/user.rb', line 4 def balances @balances end |
#country ⇒ Object (readonly)
Returns the value of attribute country.
4 5 6 |
# File 'lib/bitreserve/entities/user.rb', line 4 def country @country end |
#currencies ⇒ Object (readonly)
Returns the value of attribute currencies.
4 5 6 |
# File 'lib/bitreserve/entities/user.rb', line 4 def currencies @currencies end |
#email ⇒ Object (readonly)
Returns the value of attribute email.
4 5 6 |
# File 'lib/bitreserve/entities/user.rb', line 4 def email @email end |
#first_name ⇒ Object (readonly)
Returns the value of attribute first_name.
4 5 6 |
# File 'lib/bitreserve/entities/user.rb', line 4 def first_name @first_name end |
#last_name ⇒ Object (readonly)
Returns the value of attribute last_name.
4 5 6 |
# File 'lib/bitreserve/entities/user.rb', line 4 def last_name @last_name end |
#settings ⇒ Object (readonly)
Returns the value of attribute settings.
4 5 6 |
# File 'lib/bitreserve/entities/user.rb', line 4 def settings @settings end |
#state ⇒ Object (readonly)
Returns the value of attribute state.
4 5 6 |
# File 'lib/bitreserve/entities/user.rb', line 4 def state @state end |
#status ⇒ Object (readonly)
Returns the value of attribute status.
4 5 6 |
# File 'lib/bitreserve/entities/user.rb', line 4 def status @status end |
#username ⇒ Object (readonly)
Returns the value of attribute username.
4 5 6 |
# File 'lib/bitreserve/entities/user.rb', line 4 def username @username end |
Instance Method Details
#cards ⇒ Object
10 11 12 |
# File 'lib/bitreserve/entities/user.rb', line 10 def cards @_cards ||= Entities::Card.from_collection(@cards) end |
#phones ⇒ Object
6 7 8 |
# File 'lib/bitreserve/entities/user.rb', line 6 def phones @_phones ||= Entities::Phone.from_collection(@phones) end |
#transactions ⇒ Object
14 15 16 |
# File 'lib/bitreserve/entities/user.rb', line 14 def transactions @_transactions ||= Entities::Transaction.from_collection(@transactions) end |