class Big3::Game
Attributes
away_team[RW]
away_team_name[RW]
away_team_players[RW]
home_team[RW]
home_team_name[RW]
home_team_players[RW]
id[RW]
information[RW]
stats[RW]
url[RW]
Public Class Methods
new(id)
click to toggle source
# File lib/big_3/game.rb, line 5 def initialize(id) @id = id end
Public Instance Methods
date()
click to toggle source
# File lib/big_3/game.rb, line 59 def date @date = stats["venue"]["@date"] @date end
location()
click to toggle source
# File lib/big_3/game.rb, line 54 def location @location = stats["venue"]["@location"] @location end
venue()
click to toggle source
# File lib/big_3/game.rb, line 49 def venue @venue = stats['venue'] @venue end