Exception: ActsAsTextcaptcha::ApiKeyError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/acts_as_textcaptcha/errors.rb

Instance Method Summary collapse

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