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