Class: OAuth::Consumer
- Inherits:
-
Object
- Object
- OAuth::Consumer
- Includes:
- ClientCertificateExtensions
- Defined in:
- lib/oauth/oauth_consumer.rb
Defined Under Namespace
Modules: ClientCertificateExtensions
Instance Method Summary collapse
Methods included from ClientCertificateExtensions
Instance Method Details
#http_with_ssl_client_certificates(*args) ⇒ Object
19 20 21 22 23 24 |
# File 'lib/oauth/oauth_consumer.rb', line 19 def http_with_ssl_client_certificates(*args) @http ||= http_without_ssl_client_certificates(*args).tap do |http| http.cert = [:ssl_client_cert] http.key = [:ssl_client_key] end end |