Class: PSN::User
- Inherits:
-
Object
- Object
- PSN::User
- Defined in:
- lib/psn/user.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns the value of attribute id.
Instance Method Summary collapse
- #avatar ⇒ Object
- #games ⇒ Object
-
#initialize(id) ⇒ User
constructor
A new instance of User.
Constructor Details
#initialize(id) ⇒ User
Returns a new instance of User.
4 5 6 |
# File 'lib/psn/user.rb', line 4 def initialize(id) @id = id end |
Instance Attribute Details
#id ⇒ Object
Returns the value of attribute id.
3 4 5 |
# File 'lib/psn/user.rb', line 3 def id @id end |