static public Method

CustomMethods.delete(custom_method_name, options = {})

There's no documentation for this item.

Source Code

# File active_resource/custom_methods.rb, line 68
def delete(custom_method_name, options = {})
  # Need to jump through some hoops to retain the original class 'delete' method
  if custom_method_name.is_a?(Symbol)
    connection.delete(custom_method_collection_url(custom_method_name, options), headers)
  else
    orig_delete(custom_method_name, options)
  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.