|
@@ -28,6 +28,9 @@ module Ebaytr
|
|
end
|
|
end
|
|
url = URI.parse(@@url)
|
|
url = URI.parse(@@url)
|
|
https = Net::HTTP.new(url.host,url.port)
|
|
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
|
|
https.use_ssl = true
|
|
req = Net::HTTP::Post.new(url.path)
|
|
req = Net::HTTP::Post.new(url.path)
|
|
|
|
|