lib/passworks/asset_resource.rb in passworks-2.0.5 vs lib/passworks/asset_resource.rb in passworks-2.0.6
- old
+ new
@@ -4,8 +4,9 @@
# Deletes the current Asset
# @return [Boolean]
def delete
client.delete("#{collection_name}/#{id}").ok?
end
+ alias_method :destroy, :delete
end
end
\ No newline at end of file