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