class Sportradar::Feeds::TeamStatistics

Attributes

team_id[R]

Public Class Methods

new(year: nil, interval_type: nil, team_id:) click to toggle source
Calls superclass method Sportradar::Feeds::LeagueSchedule::new
# File lib/sportradar/feeds/team_statistics.rb, line 4
def initialize(year: nil, interval_type: nil, team_id:)
  super(year: year, interval_type: interval_type)
  @team_id = team_id
end

Public Instance Methods

path() click to toggle source
# File lib/sportradar/feeds/team_statistics.rb, line 9
def path
  "teams/#{team_id}/#{year}/#{interval_type}/statistics.json"
end