sila-ruby 0.0.7 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/lib/sila-ruby/api_helpers.rb +2 -2
- data/lib/sila-ruby/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: 82e66d18957a700708cd4aee92ddf0119a39265bbe5ca3156018cdcd9444de19
|
4
|
+
data.tar.gz: e37aae14b372421aa222237361835e92d687ec73522331bdd44aa6221f6e04cb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e0b23ba02c8d078ff4927a62626f819b8be6c0234518c4e9e641e240d11ca11b6004b41cfe6516b0d51a3be6495b1d92ef573bd0515c432628a8a62a332b870a
|
7
|
+
data.tar.gz: 20f28e614f3ff22fa6d94cae79efd4cd9418f084bd2e39bd513f8d91c32f33f12518becdc033079222fc8a7fb1214e898e633cc2eaa17b4fe097c81b352cfe33
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
sila-ruby (0.0.
|
4
|
+
sila-ruby (0.0.7)
|
5
5
|
addressable (~> 2.6)
|
6
6
|
dotenv (~> 2.7)
|
7
7
|
eth
|
@@ -34,7 +34,7 @@ GEM
|
|
34
34
|
json (2.2.0)
|
35
35
|
mime-types (3.3)
|
36
36
|
mime-types-data (~> 3.2015)
|
37
|
-
mime-types-data (3.2019.
|
37
|
+
mime-types-data (3.2019.1009)
|
38
38
|
money-tree (0.10.0)
|
39
39
|
ffi
|
40
40
|
multi_xml (0.6.0)
|
@@ -30,7 +30,7 @@ module ApiHelpers
|
|
30
30
|
# SILA-URI -----------------------------------
|
31
31
|
# --------------------------------------------
|
32
32
|
def sila_uri
|
33
|
-
SilaRuby.configuration.
|
33
|
+
SilaRuby.configuration.env == 'production' ? 'https://api.silamoney.com' : 'https://sandbox.silamoney.com'
|
34
34
|
end
|
35
35
|
|
36
36
|
# --------------------------------------------
|
@@ -60,7 +60,7 @@ module ApiHelpers
|
|
60
60
|
end
|
61
61
|
# Post to the API endpoint
|
62
62
|
begin
|
63
|
-
response = HTTParty.post(url, { "body": bodyJSON, "headers": { "authsignature": auth_signature, "usersignature": user_signature }})
|
63
|
+
response = HTTParty.post(url, { "body": bodyJSON, "headers": { "authsignature": auth_signature, "usersignature": user_signature }, :debug_output => $stdout})
|
64
64
|
res_hash(response)
|
65
65
|
rescue => e
|
66
66
|
e.inspect
|
data/lib/sila-ruby/version.rb
CHANGED