Class: OAuth::Consumer

Inherits:
Object
  • Object
show all
Defined in:
lib/oauth/oauth_consumer.rb

Instance Method Summary collapse

Instance Method Details

#http_with_ssl_client_certificates(*args) ⇒ Object



4
5
6
7
8
9
# File 'lib/oauth/oauth_consumer.rb', line 4

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