lib/sportradar/api/baseball/team.rb in sportradar-api-0.15.1 vs lib/sportradar/api/baseball/team.rb in sportradar-api-0.16.0
- old
+ new
@@ -126,10 +126,10 @@
# url path helpers
def path_base
"teams/#{ id }"
end
def path_base_stats(season_year = api.default_year, default_season = api.default_season)
- "seasontd/#{season_year}/#{default_season}/teams/#{id}"
+ "seasons/#{season_year}/#{default_season}/teams/#{id}"
end
def path_roster
"#{ path_base }/profile"
end
def path_season_stats(year)