class SportsDataApi::Ncaafb::PlayAction

Attributes

clock[R]
details[R]
down[R]
id[R]
play_type[R]
sequence[R]
side[R]
summary[R]
type[R]
updated[R]
yard_line[R]
yfd[R]

Public Class Methods

new(quarter_hash) click to toggle source
# File lib/sports_data_api/ncaafb/play_action.rb, line 6
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