lib/sportradar/api/nfl/game.rb in sportradar-api-0.1.22 vs lib/sportradar/api/nfl/game.rb in sportradar-api-0.1.23
- old
+ new
@@ -4,9 +4,10 @@
attr_accessor :response, :id, :status, :reference, :number, :scheduled, :entry_mode, :venue, :home, :away, :broadcast, :number, :attendance, :utc_offset, :weather, :clock, :quarter, :summary, :situation, :last_event, :scoring, :scoring_drives
def initialize(data)
@response = data
@id = data["id"]
+
@status = data["status"]
@reference = data["reference"]
@number = data["number"]
@scheduled = Time.parse(data["scheduled"]) if data["scheduled"]
@entry_mode = data["entry_mode"]