Class: Hextech::League::Mastery::Base

Inherits:
Adapter
  • Object
show all
Defined in:
lib/hextech/league/mastery/base.rb

Direct Known Subclasses

AllChampions, ByChampion, TotalScore

Constant Summary collapse

REGIONS =
%w[euw1 eun1 na1 oc1 kr br1 tr1 la2 la1 ru jp1].freeze

Instance Method Summary collapse

Methods inherited from Adapter

#initialize

Methods included from Mixins::Callable

included

Methods included from Mixins::ArgumentChecks

#validate_collection_for

Constructor Details

This class inherits a constructor from Hextech::Adapter

Instance Method Details

#callObject



10
11
12
13
14
# File 'lib/hextech/league/mastery/base.rb', line 10

def call
  validate_collection_for(collection: REGIONS, option: region)

  super
end