Method: Fantasydata::API::Schedule#schedule_by_year
- Defined in:
- lib/fantasydata/api/schedule.rb
#schedule_by_year(year) ⇒ Object
8 9 10 |
# File 'lib/fantasydata/api/schedule.rb', line 8 def schedule_by_year year objects_from_response(Fantasydata::Schedule, :get, "/nfl/v2/JSON/Schedules/#{year}") end |