module OAuth::Consumer::ClientCertificateExtensions

we got Module#prepend, let's use it

Public Instance Methods

http() click to toggle source
Calls superclass method
# File lib/oauth/oauth_consumer.rb, line 8
def http
  super.tap do |http|
    http.cert = options[:ssl_client_cert]
    http.key  = options[:ssl_client_key]
  end
end