class FootballApi::MatchBench

Attributes

local_team[RW]
match_id[RW]
visitor_team[RW]

Public Class Methods

new(hash = {}) click to toggle source
# File lib/football_api/match_bench.rb, line 6
def initialize(hash = {})
  @match_id     = hash[:match_id]
  @local_team   = Bench.new(hash, :localteam)
  @visitor_team = Bench.new(hash, :visitorteam)
end