lib/sportradar/api/mma/league.rb in sportradar-api-0.19.6 vs lib/sportradar/api/mma/league.rb in sportradar-api-0.20.0.pre
- old
+ new
@@ -1,7 +1,7 @@
module Sportradar
module Api
- class Mma
+ module Mma
class League < Data
attr_accessor :response, :id, :event, :name, :alias
@all_hash = {}
def self.new(data, **opts)
existing = @all_hash[data['id']]