Exception: ApiKeys::Errors::KeyNotRevocableError

Inherits:
BaseError
  • Object
show all
Defined in:
lib/api_keys/errors.rb

Overview

Raised when attempting to revoke or destroy a non-revocable key

Instance Method Summary collapse

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(message = "This API key cannot be revoked or deleted")
  super
end