lib/sportradar/api/basketball/plays/base.rb in sportradar-api-0.9.54 vs lib/sportradar/api/basketball/plays/base.rb in sportradar-api-0.9.55
- old
+ new
@@ -8,10 +8,10 @@
def initialize(data, **opts)
@response = data
@api = opts[:api]
- @quarter = opts[:quarter].number.to_i rescue opts[:quarter].to_i
+ @quarter = opts[:quarter].sequence.to_i rescue opts[:quarter].to_i
@id = data['id']
update(data)
end