Class: OAuth::Consumer

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

Overview

FireEagle addition to the OAuth::Consumer class

Instance Method Summary collapse

Instance Method Details

#create_http_without_verifyObject Also known as: create_http

Monkey patch to silence the SSL warnings



55
56
57
58
59
# File 'lib/fireeagle.rb', line 55

def create_http_without_verify #:nodoc:
  http_object             = create_http_with_verify
  http_object.verify_mode = OpenSSL::SSL::VERIFY_NONE if uri.scheme=="https"
  http_object
end