Skip to content

Commit 1ba7c60

Browse files
committed
Merge pull request #114 from yangzx554/master
support option ssl_version
2 parents 8356db9 + fa918fd commit 1ba7c60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/oauth/consumer.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ def create_http(_url = nil)
321321

322322
http_object.read_timeout = http_object.open_timeout = @options[:timeout] || 30
323323
http_object.open_timeout = @options[:open_timeout] if @options[:open_timeout]
324-
324+
http_object.ssl_version = @options[:ssl_version] if @options[:ssl_version]
325325
http_object
326326
end
327327

0 commit comments

Comments
 (0)