Class: Starcall::Endpoints::StatusV3
- Inherits:
-
Object
- Object
- Starcall::Endpoints::StatusV3
- Defined in:
- lib/starcall/endpoints/status_v3.rb
Overview
Method to check the status of services in a region
Class Method Summary collapse
-
.status_data(region: 'euw') ⇒ Object
Get League of Legends status for the given shard.
Class Method Details
.status_data(region: 'euw') ⇒ Object
Get League of Legends status for the given shard
11 12 13 14 15 16 17 |
# File 'lib/starcall/endpoints/status_v3.rb', line 11 def self.status_data(region: 'euw') Starcall::Regions.valid?(region: region) Starcall::ApiRequests.make_request( url: "https://#{parse_region(region: region)}.api.riotgames.com"\ '/lol/status/v3/shard-data' ) end |