Sha256: 683ff1518704c4c52c14b4a6f87f7ddde5b7504bbd8b750e7396552429970a76

Contents?: true

Size: 483 Bytes

Versions: 4

Compression:

Stored size: 483 Bytes

Contents

require_relative 'endpoint_template'
module Taric
  module Operation
    module Masteries

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

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

Version data entries

4 entries across 4 versions & 1 rubygems

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