Sha256: 04e50e7d4e45ddf88584c40082f325d766b5d364c02f576500b92a76a6f1db6f
Contents?: true
Size: 635 Bytes
Versions: 7
Compression:
Stored size: 635 Bytes
Contents
module NflData module API class Statline def initialize @parser = StatlineParser.new end def get(week, year, stat_type) @parser.get(week, year, stat_type).to_json end class << self def get_all(week, year) self.new.get(week, year, :all) end def get_passing(week, year) self.new.get(week, year, :passing) end def get_rushing(week, year) self.new.get(week, year, :rushing) end def get_receiving(week, year) self.new.get(week, year, :receiving) end end end end end
Version data entries
7 entries across 7 versions & 1 rubygems