Class: Circler::Account
- Inherits:
-
Object
- Object
- Circler::Account
- Defined in:
- lib/circler/response/account.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(hash) ⇒ Account
constructor
A new instance of Account.
- #user_name ⇒ Object
Constructor Details
#initialize(hash) ⇒ Account
Returns a new instance of Account.
5 6 7 |
# File 'lib/circler/response/account.rb', line 5 def initialize(hash) @hash = hash end |
Class Method Details
Instance Method Details
#user_name ⇒ Object
9 10 11 |
# File 'lib/circler/response/account.rb', line 9 def user_name @hash['name'] end |