lib/sportradar/api/basketball/ncaamb/game.rb in sportradar-api-0.13.2 vs lib/sportradar/api/basketball/ncaamb/game.rb in sportradar-api-0.13.3
- old
+ new
@@ -28,10 +28,10 @@
end
alias :half :period
alias :halfs :periods
def api
- @api || Sportradar::Api::Basketball::Ncaamb::Api.new
+ @api ||= Sportradar::Api::Basketball::Ncaamb::Api.new
end
def sim!
@api = api.sim!
self
\ No newline at end of file