Sha256: 09d083c104addb54ea6990508ca15fd04d9461e443f3ffb769ac9917fa92ceb6

Contents?: true

Size: 461 Bytes

Versions: 3

Compression:

Stored size: 461 Bytes

Contents

require_relative 'endpoint_template'
module Taric
  module Operation
    module Runes

      RUNES_V3 = EndpointTemplate.new(template_url: "https://{host}/lol/platform/v3/runes/by-summoner/{summonerId}{?api_key}")

      # Runes by summoner ID.
      #
      # @param summoner_id [Fixnum] Summoner ID
      # @return [Hash] runes for Summoner ID
      def runes(summoner_id: )
        response_for RUNES_V3, {summonerId: summoner_id}
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
taric-1.0.0.pre.beta.0 lib/taric/operation/runes.rb
taric-1.0.0.pre.alpha.8 lib/taric/operation/runes.rb
taric-1.0.0.pre.alpha.6 lib/taric/operation/runes.rb