Sha256: 1256264bc292a48f8494e9ceb10b373138d2cf9ce2b2391fab4086822bba0a70

Contents?: true

Size: 385 Bytes

Versions: 1

Compression:

Stored size: 385 Bytes

Contents

require_relative 'base'
module Taric
  module Operation
    module Game
      include Taric::Operation::Base

      GAME_VERSION = 'v1.3'.freeze
      RECENT = Addressable::Template.new "#{BASE_URL_FN.(GAME_VERSION)}/game/by-summoner/{summonerId}/recent{?api_key}"

      def recent_games(summoner_id:)
        response_for RECENT, {summonerId: summoner_id}
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
taric-0.1.1 lib/taric/operation/game.rb