Class: RiotLolApi::Model::ParticipantIdentity
- Inherits:
-
Object
- Object
- RiotLolApi::Model::ParticipantIdentity
- Defined in:
- lib/riot_lol_api/model/participantidentities.rb
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ ParticipantIdentity
constructor
A new instance of ParticipantIdentity.
Constructor Details
#initialize(options = {}) ⇒ ParticipantIdentity
Returns a new instance of ParticipantIdentity.
4 5 6 7 8 9 |
# File 'lib/riot_lol_api/model/participantidentities.rb', line 4 def initialize( = {}) .each do |key, value| self.class.send(:attr_accessor, key.to_sym) instance_variable_set("@#{key}", value) end end |