Class: Garen::Runes

Inherits:
Base
  • Object
show all
Defined in:
lib/garen/runes.rb

Instance Method Summary collapse

Methods inherited from Base

#attach_rate_limits, #make_request

Constructor Details

#initialize(conn) ⇒ Runes

Returns a new instance of Runes.



2
3
4
# File 'lib/garen/runes.rb', line 2

def initialize(conn)
  @conn = conn
end

Instance Method Details

#by_summoner_id(summoner_id, options = {}) ⇒ Object



6
7
8
# File 'lib/garen/runes.rb', line 6

def by_summoner_id(summoner_id, options = {})
  make_request(@conn, "lol/platform/v3/runes/by-summoner/#{summoner_id}", options)
end