lib/sportradar/api/nfl/game.rb in sportradar-api-0.1.11 vs lib/sportradar/api/nfl/game.rb in sportradar-api-0.1.12
- old
+ new
@@ -7,10 +7,10 @@
@response = data
@id = data["id"]
@status = data["status"]
@reference = data["reference"]
@number = data["number"]
- @scheduled = data["scheduled"]
+ @scheduled = Time.parse(data["scheduled"]) if data["scheduled"]
@entry_mode = data["entry_mode"]
# game boxscore
@number = data["number"]
@attendance = data["attendance"]