Sha256: 4740c5fafc466ca409b5fe2eda206ab41108fc5afe1b3816d43159e236b47b9e
Contents?: true
Size: 603 Bytes
Versions: 143
Compression:
Stored size: 603 Bytes
Contents
module Sportradar module Api class Nfl::Summary < Data attr_accessor :response, :season, :week, :venue, :home, :away def initialize(data) @response = data @season = Sportradar::Api::Nfl::Season.new data["season"] if data["season"] @week = Sportradar::Api::Nfl::Week.new data["week"] if data["week"] @venue = Sportradar::Api::Nfl::Venue.new data["venue"] if data["venue"] @home = Sportradar::Api::Nfl::Team.new data["home"] if data["home"] @away = Sportradar::Api::Nfl::Team.new data["away"] if data["away"] end end end end
Version data entries
143 entries across 143 versions & 1 rubygems