method
delete
v3.0.9 -
Show latest stable
- Class:
ActiveResource::CustomMethods
delete(custom_method_name, options = {})public
No documentation available.
# File activeresource/lib/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