taric 1.0.0.pre.alpha.2 → 1.0.0.pre.alpha.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/taric/operation/lol_status.rb +4 -12
- data/lib/taric/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d362f327297096741d4e19eacf86d1bcb25077fc
|
4
|
+
data.tar.gz: abac3f5c5bed56772b37d310e572201f4b264463
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 956173af07a9c576ee500cbd42bfa3679a1995834fffda72584cc160cb021673f92e0eed3225e574c4498683136465df4000ccecc3f1db46c34fc49242e703cf
|
7
|
+
data.tar.gz: 9c498c7a0fc218daaeb1213ebb3d42e3bc3e20e47798872a305ee0c01dddb1f6b527fc3488eede2836a021ee15892349d2d497368c46e39728687558adb63a00
|
data/README.md
CHANGED
@@ -2,21 +2,13 @@ require_relative 'endpoint_template'
|
|
2
2
|
module Taric
|
3
3
|
module Operation
|
4
4
|
module LolStatus
|
5
|
-
|
6
|
-
SHARD = EndpointTemplate.new(template_url: 'http://status.leagueoflegends.com/shards/{region}')
|
5
|
+
SHARD = EndpointTemplate.new(template_url: 'https://{host}/lol/status/v3/shard-data{?api_key}')
|
7
6
|
|
8
|
-
# Region metadata.
|
7
|
+
# Region metadata, implicitly uses endpoint host to determine which region.
|
9
8
|
#
|
10
|
-
# @return [Array] of region metadata in hashes
|
11
|
-
def shards
|
12
|
-
response_for SHARDS
|
13
|
-
end
|
14
|
-
|
15
|
-
# Region metadata by region.
|
16
|
-
# @param region [String] region to load
|
17
9
|
# @return [Hash] region info
|
18
|
-
def
|
19
|
-
response_for SHARD
|
10
|
+
def shard_data
|
11
|
+
response_for SHARD
|
20
12
|
end
|
21
13
|
end
|
22
14
|
end
|
data/lib/taric/version.rb
CHANGED