Class: Lol::LolStatusRequest

Inherits:
Request
  • Object
show all
Defined in:
lib/lol/lol_status_request.rb

Overview

Bindings for the Status API.

See: developer.riotgames.com/api-methods/#lol-status-v3

Instance Attribute Summary

Attributes inherited from Request

#api_key, #cache_store, #rate_limiter, #region

Instance Method Summary collapse

Methods inherited from Request

#api_base_url, #api_query_string, #api_url, #api_version, api_version, #cached?, #clean_url, #initialize, #perform_rate_limited_request, #perform_request, #perform_uncached_request, #platform, platforms, #store, #ttl

Constructor Details

This class inherits a constructor from Lol::Request

Instance Method Details

#shard_dataDynamicModel

Get League of Legends status for the given shard

Returns:



13
14
15
# File 'lib/lol/lol_status_request.rb', line 13

def shard_data
  DynamicModel.new perform_request api_url "shard-data"
end