Sha256: f9d158387acf9d222804c356e900a1a5c4399215595da89def7df8da72cd2573
Contents?: true
Size: 730 Bytes
Versions: 18
Compression:
Stored size: 730 Bytes
Contents
module SportsDataApi module Ncaafb class PlayAction attr_reader :sequence, :id, :clock, :type, :summary, :updated, :side, :yard_line, :down, :yfd, :play_type, :details def initialize(quarter_hash) @sequence = quarter_hash["sequence"] @id = quarter_hash["id"] @clock = quarter_hash["clock"] @type = quarter_hash["type"] @summary = quarter_hash["summary"] @updated = quarter_hash["updated"] @side = quarter_hash["side"] @yard_line = quarter_hash["yard_line"] @play_type = quarter_hash["play_type"] @details = quarter_hash["details"] @down = quarter_hash["down"] @yfd = quarter_hash["yfd"] end end end end
Version data entries
18 entries across 18 versions & 1 rubygems