method
configure_http
v3.0.9 -
Show latest stable
- Class:
ActiveResource::Connection
configure_http(http)private
No documentation available.
# File activeresource/lib/active_resource/connection.rb, line 167
def configure_http(http)
http = apply_ssl_options(http)
# Net::HTTP timeouts default to 60 seconds.
if @timeout
http.open_timeout = @timeout
http.read_timeout = @timeout
end
http
end