Class: Rito::Match::ParticipantIdentity

Inherits:
ApiBase
  • Object
show all
Defined in:
lib/rito/match/participant_identity.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from ApiBase

#attributes=, call_api, from_list, from_map, from_map_of_lists

Constructor Details

#initialize(attributes = {}) ⇒ ParticipantIdentity


5
6
7
8
# File 'lib/rito/match/participant_identity.rb', line 5

def initialize(attributes = {})
	self.player = Rito::Match::Player.new(attributes.delete('player')) if attributes['player']
	super
end

Instance Attribute Details

#participantIdObject

Returns the value of attribute participantId


3
4
5
# File 'lib/rito/match/participant_identity.rb', line 3

def participantId
  @participantId
end

#playerObject

Returns the value of attribute player


3
4
5
# File 'lib/rito/match/participant_identity.rb', line 3

def player
  @player
end