class Object

Public Instance Methods

new_http(uri) click to toggle source
# File lib/paypal-sdk-http-adapters/http_helper.rb, line 2
def new_http(uri)
  proxy = URI.parse(config.http_proxy) if config.http_proxy
  adapter_klass = PayPal::SDK.current_http_adapter
  adapter_klass.new(uri, proxy)
end