cocRb 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cocRb.rb +0 -12
- data/lib/cocRb/version.rb +1 -1
- 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: 84a1fe5b426fcf51fcbcd804d7150f0391c9747deb9ae4d4f2f530fe9a8c0b07
|
4
|
+
data.tar.gz: b23639c4d7a0ba41e315292099c8052755454837b2e4bfe4d98e71351d00c824
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 42a46c37bf4ab7d645b01dfd17c33cc807b66670b4f8b458cd7df9c2cf7046ecd8c3c18b4de8cb3b8e9045026f7cd3ffefd1ff66bea2efe991b80aa38177d599
|
7
|
+
data.tar.gz: 9dedf905b5ef047db3dc3db46c48b8fcab46e25a4c55235dd9bdad5a19695518ae5dbd7448d77b2a0a2af99dd497556f6debd4f6dca6be7e42e44a0009055c6c
|
data/lib/cocRb.rb
CHANGED
@@ -11,17 +11,5 @@ require 'faraday'
|
|
11
11
|
require 'time'
|
12
12
|
require "json"
|
13
13
|
|
14
|
-
CocRb.configure do |config|
|
15
|
-
config.token = token
|
16
|
-
end
|
17
|
-
|
18
|
-
conn = CocRb::Player
|
19
|
-
|
20
|
-
get = conn.getPlayerBy_Tag(tag: "#8LR0RUGJU", status: "check_status")
|
21
|
-
|
22
|
-
if get == 503
|
23
|
-
puts "The Server is under Maintenance, Try again later."
|
24
|
-
else
|
25
14
|
module CocRb
|
26
15
|
end
|
27
|
-
end
|
data/lib/cocRb/version.rb
CHANGED