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