Sha256: aca2e6e430a390932d90ec1a45620b3753cab95f0a3362fe64fabef7d186c064

Contents?: true

Size: 503 Bytes

Versions: 3

Compression:

Stored size: 503 Bytes

Contents

# frozen_string_literal: true
require_relative 'endpoint_template'
module Taric
  module Operation
    module Masteries

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

      # 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

3 entries across 3 versions & 1 rubygems

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