Exception: SpamProtect::Errors::NoSecretKey

Inherits:
Error
  • Object
show all
Defined in:
lib/spam_protect/errors/no_secret_key.rb

Instance Method Summary collapse

Instance Method Details

#messageObject



6
7
8
# File 'lib/spam_protect/errors/no_secret_key.rb', line 6

def message
  "No secret key available for signing/encryption. Please set `SpamProtect.config.signature_secret` or ensure Rails is loaded with a valid `secret_key_base`."
end