Sha256: 56bfbe79974ab4be61f65856eccaafc77657c253aa70d7e0f1b633b69930e17f
Contents?: true
Size: 519 Bytes
Versions: 18
Compression:
Stored size: 519 Bytes
Contents
module SportsDataApi module Ncaafb class Event attr_reader :id, :sequence, :clock, :type, :updated, :summary, :winner, :event_type def initialize(event_hash) @id = event_hash["id"] @sequence = event_hash["sequence"] @clock = event_hash["clock"] @type = event_hash["type"] @updated = event_hash["updated"] @summary = event_hash["summary"] @winner = event_hash["winner"] @event_type = event_hash["event_type"] end end end end
Version data entries
18 entries across 18 versions & 1 rubygems