lib/savon/request.rb in savon-0.6.4 vs lib/savon/request.rb in savon-0.6.5
- old
+ new
@@ -43,9 +43,14 @@
end
# Returns the endpoint URI.
attr_reader :endpoint
+ # Sets the open timeout for HTTP requests.
+ def open_timeout=(sec)
+ http.open_timeout = sec
+ end
+
# Sets the read timeout for HTTP requests.
def read_timeout=(sec)
http.read_timeout = sec
end