Sha256: 3528baa8ef217f0ecd5400f51dc2b1377a7f5c2a2ce4303ef166948205904232
Contents?: true
Size: 417 Bytes
Versions: 3
Compression:
Stored size: 417 Bytes
Contents
require 'fantasydata/api/utils' module Fantasydata module API module Score include Fantasydata::API::Utils def scores_by_season year objects_from_response(Fantasydata::Score, :get, "/nfl/v2/JSON/Scores/#{year}") end def scores_by_week year, week objects_from_response(Fantasydata::Score, :get, "/nfl/v2/JSON/ScoresByWeek/#{year}/#{week}") end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
fantasydata-0.2.2 | lib/fantasydata/api/score.rb |
fantasydata-0.2.1 | lib/fantasydata/api/score.rb |
fantasydata-0.2.0 | lib/fantasydata/api/score.rb |