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