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