lib/transferwise.rb in transferwise-0.1.6 vs lib/transferwise.rb in transferwise-0.2.0

- old
+ new

@@ -32,9 +32,11 @@ class << self attr_accessor :mode attr_accessor :access_token def api_base - @api_base ||= "https://#{mode == 'live' ? 'api' : 'test-api'}.transferwise.com" + live_url = 'api.transferwise.com' + test_url = 'sandbox.transferwise.tech' + @api_base ||= "https://#{mode == 'live' ? live_url : test_url}" end end end