class LolApi::ParticipantIdentity

Attributes

raw_identity[R]

Public Class Methods

new(raw_identity) click to toggle source
# File lib/lol_api/types/dtos/participant_identity.rb, line 7
def initialize(raw_identity)
        @raw_identity = raw_identity
end

Public Instance Methods

participant_id() click to toggle source
# File lib/lol_api/types/dtos/participant_identity.rb, line 11
def participant_id
        raw_identity['participantId']
end
player() click to toggle source
# File lib/lol_api/types/dtos/participant_identity.rb, line 15
def player
        Player.new(raw_identity['player']) if raw_identity['player']
end