Sha256: 3d26ed353b2efe475e5adb62868b28f3fcfe32f1dd5c7d4ca0b4d2af25c53604

Contents?: true

Size: 339 Bytes

Versions: 18

Compression:

Stored size: 339 Bytes

Contents

module OAuth
  class Consumer
    
    def http_with_ssl_client_certificates(*args)
      @http ||= http_without_ssl_client_certificates(*args).tap do |http|
        http.cert = options[:ssl_client_cert]
        http.key  = options[:ssl_client_key]
      end
    end
  
    alias_method_chain :http, :ssl_client_certificates
    
  end
end

Version data entries

18 entries across 18 versions & 3 rubygems

Version Path
xero_gateway-float-2.1.7 lib/oauth/oauth_consumer.rb
xero_gateway-float-2.1.6 lib/oauth/oauth_consumer.rb
xero_gateway-float-2.1.4 lib/oauth/oauth_consumer.rb
xero_gateway-float-2.1.3 lib/oauth/oauth_consumer.rb
xero_gateway-float-2.1.1 lib/oauth/oauth_consumer.rb
xero_gateway-float-2.0.18 lib/oauth/oauth_consumer.rb
xero_gateway-float-2.0.17 lib/oauth/oauth_consumer.rb
xero_gateway-float-2.0.16 lib/oauth/oauth_consumer.rb
xero_gateway-float-2.0.15 lib/oauth/oauth_consumer.rb
xero_gateway-2.1.0 lib/oauth/oauth_consumer.rb
xero_gateway-n8vision-2.0.20 lib/oauth/oauth_consumer.rb
xero_gateway-2.0.19 lib/oauth/oauth_consumer.rb
xero_gateway-2.0.18 lib/oauth/oauth_consumer.rb
xero_gateway-2.0.17 lib/oauth/oauth_consumer.rb
xero_gateway-2.0.16 lib/oauth/oauth_consumer.rb
xero_gateway-2.0.15 lib/oauth/oauth_consumer.rb
xero_gateway-2.0.14 lib/oauth/oauth_consumer.rb
xero_gateway-2.0.13 lib/oauth/oauth_consumer.rb