Class: LeagueOfLegends::Request::Team::BySummoner

Inherits:
Base
  • Object
show all
Defined in:
lib/league_of_legends/request/team/by_summoner.rb

Instance Attribute Summary collapse

Attributes inherited from Base

#options

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Base

#api_key, default_options, #region, #response, version

Constructor Details

#initialize(api, summoner_id, options = {}) ⇒ BySummoner

Returns a new instance of BySummoner.



10
11
12
13
14
# File 'lib/league_of_legends/request/team/by_summoner.rb', line 10

def initialize api, summoner_id, options = {}
  super(api, options)

  @summoner_id = summoner_id
end

Instance Attribute Details

#summoner_idObject (readonly)

Returns the value of attribute summoner_id.



8
9
10
# File 'lib/league_of_legends/request/team/by_summoner.rb', line 8

def summoner_id
  @summoner_id
end

Class Method Details

.dto_classObject



16
17
18
# File 'lib/league_of_legends/request/team/by_summoner.rb', line 16

def self.dto_class
  ::LeagueOfLegends::DTO::TeamList
end