Sha256: 55efc5a1b702fb5277bb8821eac747f0b7c33330b02d34c82701baa268b59097

Contents?: true

Size: 756 Bytes

Versions: 1

Compression:

Stored size: 756 Bytes

Contents

# TransferWise Ruby bindings
require 'open-uri'
require 'oauth2'
require 'rest-client'
require 'json'

# Version
require "transfer_wise/version"

# Oauth2 Authentication
require "transfer_wise/oauth"

# Resources
require 'transfer_wise/transfer_wise_object'
require 'transfer_wise/api_resource'
require 'transfer_wise/profile'
require 'transfer_wise/quote'
require 'transfer_wise/account'
require 'transfer_wise/transfer'
require 'transfer_wise/util'
require 'transfer_wise/request'

# Errors
require 'transfer_wise/transfer_wise_error'

module TransferWise

  class << self
    attr_accessor :mode
    attr_accessor :access_token

    def api_base
      @api_base ||= "https://#{mode == 'live' ? 'api' : 'test-restgw'}.transferwise.com"
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
transfer_wise-0.1.4 lib/transfer_wise.rb