Module: Snooby::Delete

Included in:
Comment, Post
Defined in:
lib/snooby/actions.rb

Instance Method Summary collapse

Instance Method Details

#deleteObject

Deletes the calling object, which is either a post or a comment.



40
41
42
# File 'lib/snooby/actions.rb', line 40

def delete
  Snooby.request Paths[:delete], :id => self.name
end