Class: Rito::Match::ParticipantFrame

Inherits:
ApiBase
  • Object
show all
Defined in:
lib/rito/match/participant_frame.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 = {}) ⇒ ParticipantFrame


14
15
16
17
# File 'lib/rito/match/participant_frame.rb', line 14

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

Instance Attribute Details

#currentGoldObject

Returns the value of attribute currentGold


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

def currentGold
  @currentGold
end

#dominionScoreObject

Returns the value of attribute dominionScore


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

def dominionScore
  @dominionScore
end

#jungleMinionsKilledObject

Returns the value of attribute jungleMinionsKilled


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

def jungleMinionsKilled
  @jungleMinionsKilled
end

#levelObject

Returns the value of attribute level


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

def level
  @level
end

#minionsKilledObject

Returns the value of attribute minionsKilled


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

def minionsKilled
  @minionsKilled
end

#participantIdObject

Returns the value of attribute participantId


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

def participantId
  @participantId
end

#positionObject

Returns the value of attribute position


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

def position
  @position
end

#teamScoreObject

Returns the value of attribute teamScore


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

def teamScore
  @teamScore
end

#totalGoldObject

Returns the value of attribute totalGold


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

def totalGold
  @totalGold
end

#xpObject

Returns the value of attribute xp


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

def xp
  @xp
end