class BrickFTP::RESTfulAPI::DeleteBundle

Delete a bundle

@see developers.files.com/#delete-a-bundle Delete a bundle

Public Instance Methods

call(id) click to toggle source

Deletes the specified bundle.

@param [Integer] id Globally unique identifier of each bundle.

# File lib/brick_ftp/restful_api/delete_bundle.rb, line 16
def call(id)
  client.delete("/api/rest/v1/bundles/#{id}.json")
  true
end