|
@@ -28,6 +28,9 @@ module Ebaytr
|
|
|
end
|
|
|
url = URI.parse(@@url)
|
|
|
https = Net::HTTP.new(url.host,url.port)
|
|
|
+ https.open_timeout = 60
|
|
|
+ https.read_timeout = 60
|
|
|
+ https.verify_mode = OpenSSL::SSL::VERIFY_PEER
|
|
|
https.use_ssl = true
|
|
|
req = Net::HTTP::Post.new(url.path)
|
|
|
|