Class: PSN::GamesList
- Inherits:
-
Object
- Object
- PSN::GamesList
- Defined in:
- lib/psn/games_list.rb
Instance Method Summary collapse
- #games ⇒ Object
-
#initialize(user) ⇒ GamesList
constructor
A new instance of GamesList.
Constructor Details
#initialize(user) ⇒ GamesList
Returns a new instance of GamesList.
3 4 5 |
# File 'lib/psn/games_list.rb', line 3 def initialize(user) @user = user end |
Instance Method Details
#games ⇒ Object
7 8 9 |
# File 'lib/psn/games_list.rb', line 7 def games games = parse_games(fetch_games) end |