Exception: ActsAsTextcaptcha::ApiKeyError
- Inherits:
-
StandardError
- Object
- StandardError
- ActsAsTextcaptcha::ApiKeyError
- Defined in:
- lib/acts_as_textcaptcha/errors.rb
Instance Method Summary collapse
-
#initialize(api_key, exception) ⇒ ApiKeyError
constructor
A new instance of ApiKeyError.
Constructor Details
#initialize(api_key, exception) ⇒ ApiKeyError
Returns a new instance of ApiKeyError.
11 12 13 |
# File 'lib/acts_as_textcaptcha/errors.rb', line 11 def initialize(api_key, exception) super("Api key '#{api_key}' is invalid - #{exception}") end |