Class: Garen::Runes
Instance Method Summary collapse
- #by_summoner_id(summoner_id, options = {}) ⇒ Object
-
#initialize(conn) ⇒ Runes
constructor
A new instance of Runes.
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, = {}) make_request(@conn, "lol/platform/v3/runes/by-summoner/#{summoner_id}", ) end |