Method: ActiveSupport::EncryptedConfiguration#validate!
- Defined in:
- lib/active_support/encrypted_configuration.rb
permalink #validate! ⇒ Object
:nodoc:
69 70 71 72 73 74 75 |
# File 'lib/active_support/encrypted_configuration.rb', line 69 def validate! # :nodoc: deserialize(read).each_key do |key| key.to_sym rescue NoMethodError raise InvalidKeyError.new(content_path, key) end end |