class ScoreScraper::Game

Attributes

away_team[R]
game_state[R]
home_team[R]

Public Class Methods

new(attrs) click to toggle source
# File lib/score_scraper/game.rb, line 5
def initialize(attrs)
  @home_team  = attrs[:home_team]  || {}
  @away_team  = attrs[:away_team]  || {}
  @game_state = attrs[:game_state] || ''
end