apiotics 0.1.119 → 0.1.120
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/apiotics/portal.rb +1 -1
- data/lib/apiotics/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: 41c0adbd3fd359d4d9e2afd8211e5c6103dd4332
|
4
|
+
data.tar.gz: c7c27ed4fb0136e8806c88541a442ab97cefe061
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 13806bd52c115a6083ba70594b8168423a2eb12c3e7f28d02e90cfa2eb552c71b3753fefa19f5e65bb9c483482d324d4d97f6d6b923b9cc2839cfb8e0c28738f
|
7
|
+
data.tar.gz: 6e082927f31b74bf4880acefe742bbeb50531538b2893070fac684cb12ad414d3d19480b27884d78d014a768f272a9471d79b7447446df91fc2ff4024386995b
|
data/lib/apiotics/portal.rb
CHANGED
@@ -256,7 +256,7 @@ module Apiotics
|
|
256
256
|
end
|
257
257
|
|
258
258
|
def self.register_client
|
259
|
-
response =
|
259
|
+
response = HTTParty.post("#{Apiotics.configuration.portal}api/register_client", :query => {:public_key => Apiotics.configuration.public_key, :private_key => Apiotics.configuration.private_key}).body
|
260
260
|
hash = JSON.parse(response)
|
261
261
|
gem_setting = ApioticsSetting.find_by(key: "gem_id")
|
262
262
|
if gem_setting == nil
|
data/lib/apiotics/version.rb
CHANGED