protected Method

Base.update

Update the resource on the remote service.

Source Code

# File active_resource/base.rb, line 810
def update
  returning connection.put(element_path(prefix_options), to_xml, self.class.headers) do |response|
    load_attributes_from_response(response)
  end
end
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.