Class: PSN::GamesList

Inherits:
Object
  • Object
show all
Defined in:
lib/psn/games_list.rb

Instance Method Summary collapse

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

#gamesObject



7
8
9
# File 'lib/psn/games_list.rb', line 7

def games
  games = parse_games(fetch_games)
end