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