lib/restful_model.rb in inbox-0.13.0 vs lib/restful_model.rb in inbox-0.14.0
- old
+ new
@@ -68,10 +68,12 @@
end
self
end
def destroy
- update('DELETE', '')
+ ::RestClient.send('delete', self.url) do |response, request|
+ Inbox.interpret_http_status(response)
+ end
end
end
-end
\ No newline at end of file
+end