Module: Delicious::Bookmarks::Methods::Delete
- Extended by:
- ActiveSupport::Concern
- Included in:
- Api
- Defined in:
- lib/delicious/bookmarks/methods/delete.rb
Instance Method Summary collapse
-
#delete(url) ⇒ Boolean
Deletes bookmark with given URL.
Instance Method Details
#delete(url) ⇒ Boolean
Deletes bookmark with given URL
14 15 16 17 18 |
# File 'lib/delicious/bookmarks/methods/delete.rb', line 14 def delete(url) response = @client.connection.post '/v1/posts/delete', url: url code = response.body['result']['code'] 'done' == code end |