Class: BrickFTP::RESTfulAPI::DeleteBundle
- Inherits:
-
Object
- Object
- BrickFTP::RESTfulAPI::DeleteBundle
- Includes:
- Command
- Defined in:
- lib/brick_ftp/restful_api/delete_bundle.rb
Overview
Delete a bundle
Instance Method Summary collapse
-
#call(id) ⇒ Object
Deletes the specified bundle.
Methods included from Command
Instance Method Details
#call(id) ⇒ Object
Deletes the specified bundle.
16 17 18 19 |
# File 'lib/brick_ftp/restful_api/delete_bundle.rb', line 16 def call(id) client.delete("/api/rest/v1/bundles/#{id}.json") true end |