Module

ActiveResource

There's no documentation for this item.

Modules
CustomMethods A module to support custom REST methods and sub-resources, allowing you to break out of the "default" REST methods with your own custom resource requests. For example, say you use Rails to expose a REST service and configure your routes with:
Formats
VERSION
Validations Module to allow validation of ActiveResource objects, which creates an Errors instance for every resource. Methods are implemented by overriding +Base#validate+ or its variants Each of these methods can inspect the state of the object, which usually means ensuring that a number of attributes have a certain value (such as not empty, within a given range, matching a certain regular expression and so on).
Classes
BadRequest 400 Bad Request
Base ActiveResource::Base is the main class for mapping RESTful resources as models in a Rails application.
ClientError 4xx Client Error
Connection Class to handle connections to remote web services. This class is used by ActiveResource::Base to interface with REST services.
ConnectionError
Errors Active Resource validation is reported to and from this object, which is used by Base#save to determine whether the object in a valid state to be saved. See usage example in Validations.
ForbiddenAccess 403 Forbidden
HttpMock
InvalidRequestError
MethodNotAllowed 405 Method Not Allowed
Redirection 3xx Redirection
Request
ResourceConflict 409 Conflict
ResourceInvalid
ResourceNotFound 404 Not Found
Response
ServerError 5xx Server Error
UnauthorizedAccess 401 Unauthorized
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.