Class: LolApi::ParticipantIdentity
- Inherits:
-
Object
- Object
- LolApi::ParticipantIdentity
- Defined in:
- lib/lol_api/types/dtos/participant_identity.rb
Instance Attribute Summary collapse
-
#raw_identity ⇒ Object
readonly
Returns the value of attribute raw_identity.
Instance Method Summary collapse
-
#initialize(raw_identity) ⇒ ParticipantIdentity
constructor
A new instance of ParticipantIdentity.
- #participant_id ⇒ Object
- #player ⇒ Object
Constructor Details
#initialize(raw_identity) ⇒ ParticipantIdentity
Returns a new instance of ParticipantIdentity.
7 8 9 |
# File 'lib/lol_api/types/dtos/participant_identity.rb', line 7 def initialize(raw_identity) @raw_identity = raw_identity end |
Instance Attribute Details
#raw_identity ⇒ Object (readonly)
Returns the value of attribute raw_identity.
5 6 7 |
# File 'lib/lol_api/types/dtos/participant_identity.rb', line 5 def raw_identity @raw_identity end |
Instance Method Details
#participant_id ⇒ Object
11 12 13 |
# File 'lib/lol_api/types/dtos/participant_identity.rb', line 11 def participant_id raw_identity['participantId'] end |