Class: RiotKit::Services::Riot::MatchIds
- Includes:
- Helpers::Riot::MatchHelpers
- Defined in:
- lib/riot_kit/services/riot/match_ids.rb
Constant Summary
Constants included from Helpers::Riot::MatchHelpers
Helpers::Riot::MatchHelpers::FILTERS, Helpers::Riot::MatchHelpers::QUEUE_ID, Helpers::Riot::MatchHelpers::QUEUE_LABEL
Instance Method Summary collapse
-
#initialize(nickname:, filter: 'ranked', client: nil, config: RiotKit.config) ⇒ MatchIds
constructor
A new instance of MatchIds.
Methods included from Helpers::Riot::MatchHelpers
#cs_per_minute, #cs_total_for, #item_ids_for, #queue_label_for
Methods inherited from Base
Constructor Details
#initialize(nickname:, filter: 'ranked', client: nil, config: RiotKit.config) ⇒ MatchIds
Returns a new instance of MatchIds.
15 16 17 18 19 20 21 |
# File 'lib/riot_kit/services/riot/match_ids.rb', line 15 def initialize(nickname:, filter: 'ranked', client: nil, config: RiotKit.config) @nickname = nickname @filter = filter.to_s @client = client || Clients::Riot.new(config: config) @config = config @result = [] end |