Class | ActiveResource::Connection |
In: |
lib/active_resource/connection.rb
lib/active_resource/http_mock.rb |
Parent: | Object |
Class to handle connections to remote web services. This class is used by ActiveResource::Base to interface with REST services.
format | [RW] | |
password | [R] | |
site | [R] | |
timeout | [R] | |
user | [R] |
The site parameter is required and will set the site attribute to the URI for the remote resource service.
Execute a DELETE request (see HTTP protocol documentation if unfamiliar). Used to delete resources.
Execute a HEAD request. Used to obtain meta-information about resources, such as whether they exist and their size (via response headers).
Set the number of seconds after which HTTP requests to the remote service should time out.