Skip to content

Commit

Permalink
fixed Parse::Object#parse_delete
Browse files Browse the repository at this point in the history
  • Loading branch information
adelevie committed Feb 25, 2012
1 parent 11ae16c commit 5c70535
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/parse/object.rb
Expand Up @@ -90,7 +90,9 @@ def parse_delete
if @parse_object_id
response = Parse.client.delete self.uri
end
nil

self.clear
self
end

# Increment the given field by an amount, which defaults to 1.
Expand Down

0 comments on commit 5c70535

Please sign in to comment.