class BrickFTP::RESTfulAPI::DeleteNotification

Delete a notification

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

Public Instance Methods

call(id) click to toggle source

Deletes the specified notification.

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

Each notification is given an ID automatically upon creation.
# File lib/brick_ftp/restful_api/delete_notification.rb, line 17
def call(id)
  client.delete("/api/rest/v1/notifications/#{id}.json")
  true
end