Class: LeagueOfLegends::Request::Game::BySummoner::Recent
- Defined in:
- lib/league_of_legends/request/game/by_summoner/recent.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 = {}) ⇒ Recent
constructor
A new instance of Recent.
Methods inherited from Base
#api_key, default_options, #region, #response, version
Constructor Details
#initialize(api, summoner_id, options = {}) ⇒ Recent
11 12 13 14 |
# File 'lib/league_of_legends/request/game/by_summoner/recent.rb', line 11 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.
9 10 11 |
# File 'lib/league_of_legends/request/game/by_summoner/recent.rb', line 9 def summoner_id @summoner_id end |
Class Method Details
.dto_class ⇒ Object
16 17 18 |
# File 'lib/league_of_legends/request/game/by_summoner/recent.rb', line 16 def self.dto_class ::LeagueOfLegends::DTO::RecentGames end |