Exception: ApiKeys::Errors::KeyNotRevocableError
- Defined in:
- lib/api_keys/errors.rb
Overview
Raised when attempting to revoke or destroy a non-revocable key
Instance Method Summary collapse
-
#initialize(message = "This API key cannot be revoked or deleted") ⇒ KeyNotRevocableError
constructor
A new instance of KeyNotRevocableError.
Constructor Details
#initialize(message = "This API key cannot be revoked or deleted") ⇒ KeyNotRevocableError
Returns a new instance of KeyNotRevocableError.
10 11 12 |
# File 'lib/api_keys/errors.rb', line 10 def initialize( = "This API key cannot be revoked or deleted") super end |