Module: Fantasydata::API::ByeWeeks
Constant Summary
Constants included from Utils
Utils::API_KEY_CANNOT_CALL_THIS_METHOD, Utils::INVALID_PARAMETER, Utils::MISSING_OR_INVALID_KEY, Utils::MISSING_PARAMETER, Utils::RATE_LIMIT_EXCEEDED, Utils::SUCCESS
Instance Method Summary collapse
-
#bye_weeks_for_season(season) ⇒ Fantasydata::BoxScore
Get bye weeks for the teams during a specified NFL season.
Instance Method Details
#bye_weeks_for_season(season) ⇒ Fantasydata::BoxScore
Get bye weeks for the teams during a specified NFL season.
18 19 20 |
# File 'lib/fantasydata/api/bye_weeks.rb', line 18 def bye_weeks_for_season(season) objects_from_response(Fantasydata::ByeWeek, :get, "/nfl/v2/JSON/Byes/#{season}") end |