Module: OAuth::Consumer::ClientCertificateExtensions
- Included in:
- OAuth::Consumer
- Defined in:
- lib/oauth/oauth_consumer.rb
Overview
we got Module#prepend, let’s use it
Instance Method Summary collapse
Instance Method Details
#http ⇒ Object
8 9 10 11 12 13 |
# File 'lib/oauth/oauth_consumer.rb', line 8 def http super.tap do |http| http.cert = [:ssl_client_cert] http.key = [:ssl_client_key] end end |