Class: LeagueOfLegends::Request::Team::BySummoner
- Defined in:
- lib/league_of_legends/request/team/by_summoner.rb
Instance Attribute Summary collapse
-
#summoner_id ⇒ Object
readonly
Returns the value of attribute summoner_id.
Attributes inherited from Base
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(api, summoner_id, options = {}) ⇒ BySummoner
constructor
A new instance of BySummoner.
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, = {} super(api, ) @summoner_id = summoner_id end |
Instance Attribute Details
#summoner_id ⇒ Object (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_class ⇒ Object
16 17 18 |
# File 'lib/league_of_legends/request/team/by_summoner.rb', line 16 def self.dto_class ::LeagueOfLegends::DTO::TeamList end |