Sha256: 6b1f5e86a74cfe6a3f6738d31c59d570d23e5146f6d46bff4c2f5365a981e03d

Contents?: true

Size: 481 Bytes

Versions: 2

Compression:

Stored size: 481 Bytes

Contents

# frozen_string_literal: true
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}')

      # 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

2 entries across 2 versions & 1 rubygems

Version Path
taric-2.0.0.pre.alpha lib/taric/operation/runes.rb
taric-1.0.0 lib/taric/operation/runes.rb