lib/fireeagle.rb in jnewland-fireeagle-0.8.0.1 vs lib/fireeagle.rb in jnewland-fireeagle-0.8.99.1
- old
+ new
@@ -50,17 +50,5 @@
false_count += 1 unless keys.include?(k)
end
false_count == 0 or false_count == size
end
end
-
-# FireEagle addition to the <code>OAuth::Consumer</code> class
-class OAuth::Consumer
- alias_method :create_http_with_verify, :create_http
- # Monkey patch to silence the SSL warnings
- 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
- alias_method :create_http, :create_http_without_verify
-end