Sha256: a2ed6ce90f981d9d8efafa26cf9cd2432665965a2f992ade80b932de5fb72ff9
Contents?: true
Size: 392 Bytes
Versions: 16
Compression:
Stored size: 392 Bytes
Contents
module Sportradar module Api class Nfl::Week < Data attr_accessor :response, :id, :sequence, :title, :games def initialize(data) @response = data @id = data["id"] @sequence = data["sequence"] @title = data["title"] @games = data["game"].map {|game| Sportradar::Api::Nfl::Game.new game } if data["game"] end end end end
Version data entries
16 entries across 16 versions & 1 rubygems