method

ensure_credentials_have_been_added

Importance_0
v6.1.7.7 - Show latest stable - 0 notes - Class: CredentialsCommand
ensure_credentials_have_been_added() private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File railties/lib/rails/commands/credentials/credentials_command.rb, line 81
        def ensure_credentials_have_been_added
          if options[:environment]
            encrypted_file_generator.add_encrypted_file_silently(content_path, key_path)
          else
            credentials_generator.add_credentials_file_silently
          end
        end
Register or log in to add new notes.