Exception: AttrEncrypter::Errors::NoKeychainError
- Inherits:
-
StandardError
- Object
- StandardError
- AttrEncrypter::Errors::NoKeychainError
- Defined in:
- lib/attr_encrypter/errors.rb
Instance Method Summary collapse
Instance Method Details
#message ⇒ Object
5 6 7 8 9 |
# File 'lib/attr_encrypter/errors.rb', line 5 def "AttrEncrypter.new(keychain) requires a valid keychain containing at least one key." \ "\nYou can generate a key using AttrEncrypter::Generator.generate_key(version = 1)." \ "\nHere's a (version 1) key if you need one: #{AttrEncrypter::Generator.generate_key}" \ end |