method

update_attributes

Importance_1
v3.2.8 - Show latest stable - 0 notes - Class: ActiveResource::Base
update_attributes(attributes) public

Updates this resource with all the attributes from the passed-in Hash and requests that the record be saved.

If the saving fails because of a connection or remote service error, an exception will be raised. If saving fails because the resource is invalid then false will be returned.

Note: Though this request can be made with a partial set of the resource’s attributes, the full body of the request will still be sent in the save request to the remote service.

Show source
Register or log in to add new notes.