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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 15ed38cfb61fb5c7704a9c514fd89ac8ef9bae60d82615f22134d6602fafe151
4
- data.tar.gz: be85cc338a43b675f2c27f9d3b18f78c1527e7cbf2715c7491d01119a7369b90
3
+ metadata.gz: 82e66d18957a700708cd4aee92ddf0119a39265bbe5ca3156018cdcd9444de19
4
+ data.tar.gz: e37aae14b372421aa222237361835e92d687ec73522331bdd44aa6221f6e04cb
5
5
  SHA512:
6
- metadata.gz: 5b3058e41d9c6d9f40d0c05a3e2648cc70bd773b58edc5472de3ec4f9dcecdd01beb6c90ab3387ab782fd709ce8ae90a7ea3ae180444cc80a8daaf13178e8ffa
7
- data.tar.gz: bd26f9d0a1851461934902c44c2d8d095ef405841cd632628f68b0a1bd941d02a3b5385482045a1c7fbb18c23009affd2288bc68b496a6677213e8f2f3bb0929
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.3)
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.0904)
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.handle == 'production' ? 'https://api.silamoney.com' : 'https://sandbox.silamoney.com'
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
@@ -1,3 +1,3 @@
1
1
  module SilaRuby
2
- VERSION = '0.0.7'
2
+ VERSION = '0.0.8'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sila-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vertbase