diff --git a/lib/sightstone/league.rb b/lib/sightstone/league.rb index 2e83340..fcd60e0 100644 --- a/lib/sightstone/league.rb +++ b/lib/sightstone/league.rb @@ -5,12 +5,13 @@ module Sightstone # @attr [String] tier tier of the requestet summoner (can be: CHALLENGER, DIAMOND, PLATINUM, GOLD, SILVER, BRONZE) # @attr [Array] entries class League - attr_accessor :entries, :name, :queue, :tier + attr_accessor :entries, :name, :queue, :tier, :participantId def initialize(data) @name = data['name'] @queue = data['queue'] @tier = data['tier'] + @participantId = data['participantId'] @entries = [] data['entries'].each do |entry| @entries << LeagueItem.new(entry)