Module: Hextech::Global::Account

Defined in:
lib/hextech/global/account.rb,
lib/hextech/global/account/base.rb,
lib/hextech/global/account/by_puuid.rb,
lib/hextech/global/account/by_riot_id.rb

Defined Under Namespace

Classes: Base, ByPuuid, ByRiotId

Class Method Summary collapse

Class Method Details

.by_puuid(puuid:, region: 'europe') ⇒ Object



12
13
14
# File 'lib/hextech/global/account.rb', line 12

def by_puuid(puuid:, region: 'europe')
  Account::ByPuuid.call(puuid: puuid, region: region)
end

.by_riot_id(game_name:, tag_line:, region: 'europe') ⇒ Object



16
17
18
# File 'lib/hextech/global/account.rb', line 16

def by_riot_id(game_name:, tag_line:, region: 'europe')
  Account::ByRiotId.call(game_name: game_name, tag_line: tag_line, region: region)
end