transferwise 0.1.6 → 0.2.0

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
  SHA1:
3
- metadata.gz: 48da3462cb2196089353e83e8bbbd968eaac85f1
4
- data.tar.gz: 4857e5d0da3a5c3ce61d001d9e64a79899f2d9e1
3
+ metadata.gz: c1e5154348bd88e30e137322b51d6e2c5f0a968b
4
+ data.tar.gz: e2916d662d91c3367c81b24a84ba6b1d64bcfab1
5
5
  SHA512:
6
- metadata.gz: a6ccaef13c20aee10f5453f2d74707718ae85dc5165181f38e9bda99d4bd8d67f4637efe0a8021e126f99cac6f92011321b2554485921772fd2f23f8ede8fc24
7
- data.tar.gz: 88e5a125574d11978a036566c3d1325b5780c1cc15dfb1add368f9a52f9d6900b8a983353002faf1b0a28a52100e02a653402a247b01eae9a9c3eca67f97a043
6
+ metadata.gz: fd750167822d98b9af5c2f7bd4668dd22cca0c2a439832f4a4c1824b1d3f8ea750eb6fb68788f7a49f389226f2af7923d47e03ada4f5032c0686ed2adac18513
7
+ data.tar.gz: 6abfa36a865d2d480bad2e795829194fcd88e1eb43c182527a932b5bbd1682bd64f1cebbc43cd56846287e8502d6326ff10073b380917b93d283aba73bdc1dca
data/lib/transferwise.rb CHANGED
@@ -34,7 +34,9 @@ module Transferwise
34
34
  attr_accessor :access_token
35
35
 
36
36
  def api_base
37
- @api_base ||= "https://#{mode == 'live' ? 'api' : 'test-api'}.transferwise.com"
37
+ live_url = 'api.transferwise.com'
38
+ test_url = 'sandbox.transferwise.tech'
39
+ @api_base ||= "https://#{mode == 'live' ? live_url : test_url}"
38
40
  end
39
41
  end
40
42
  end
@@ -1,3 +1,3 @@
1
1
  module Transferwise
2
- VERSION = "0.1.6"
2
+ VERSION = "0.2.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: transferwise
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Harshvardhan Parihar
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2018-01-19 00:00:00.000000000 Z
12
+ date: 2018-01-29 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rest-client