Sha256: cdfcd2245b6ec94681245beeb0f83648fa825c8f08bb53fb7f60c6646108b795

Contents?: true

Size: 436 Bytes

Versions: 4

Compression:

Stored size: 436 Bytes

Contents

module Lol
  # Bindings for the Status API.
  #
  # See: https://developer.riotgames.com/api-methods/#lol-status-v3
  class LolStatusRequest < Request
    # @!visibility private
    def api_base_path
      "/lol/status/#{self.class.api_version}"
    end

    # Get League of Legends status for the given shard
    # @return [DynamicModel]
    def shard_data
      DynamicModel.new perform_request api_url "shard-data"
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ruby-lol-1.2.0 lib/lol/lol_status_request.rb
ruby-lol-1.1.2 lib/lol/lol_status_request.rb
ruby-lol-1.1.1 lib/lol/lol_status_request.rb
ruby-lol-1.0.0 lib/lol/lol_status_request.rb