lib/sportradar/api/mma/judge.rb in sportradar-api-0.19.6 vs lib/sportradar/api/mma/judge.rb in sportradar-api-0.20.0.pre

- old
+ new

@@ -1,8 +1,8 @@ module Sportradar module Api - class Mma + module Mma class Judge < Data attr_accessor :response, :id, :first_name, :last_name @all_hash = {} def self.new(data, **opts) existing = @all_hash[data['id']] @@ -65,6 +65,6 @@ sc = m.schedule; e = sc.events.sample; e.fights.first.fighters.first.born fighter_hash = {'id' => "259117dc-c443-4086-8c1d-abd082e3d4b9" } # => Conor McGregor -f = Sportradar::Api::Mma::Fighter.new(fighter_hash) \ No newline at end of file +f = Sportradar::Api::Mma::Fighter.new(fighter_hash)