fortniteapi 0.0.8 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/fortniteapi/api.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 700b4681c3729c4f8bdaa005fe2c7d3f134836a125ce417fd8abd049f66f927f
|
4
|
+
data.tar.gz: 41a5a06a220b73cd5a0cbbeb0be7e425b5d755a3b8282ab7710576b4f2bc9d32
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 750d663bb67afca3f214d53ff14037b3f3cb701327c8f4424f9e74ae276048b173f7b69f871b2812ecd5748f9694083488eeb5556af09b44ff350d153866c43d
|
7
|
+
data.tar.gz: 4fc8f8a77b38fa497f005f55e50faceddcbec3b25a5c38c438a9c537a8813da8075b8bdf229483d5533b68a4d5f752e3e29c2da14716f5738b04a8d73a21374e
|
data/lib/fortniteapi/api.rb
CHANGED
@@ -12,8 +12,8 @@ class FortniteAPI
|
|
12
12
|
@apikey = apikey
|
13
13
|
@headers = {"x-api-key" => @apikey}
|
14
14
|
|
15
|
-
if
|
16
|
-
|
15
|
+
if apikey == nil
|
16
|
+
puts 'Warning: Next monday (Dec. 9th) at 8 PM (UTC) every endpoint will require an API-Key, you can get one at: fortnite-api.com.'
|
17
17
|
end
|
18
18
|
end
|
19
19
|
|