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



60
61
62
63
64
# File 'lib/fireeagle.rb', line 60

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