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