Class: Qonfig::Plugins::Vault Private

Inherits:
Abstract
  • Object
show all
Defined in:
lib/qonfig/plugins/vault.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Since:

  • 0.25.0

Class Method Summary collapse

Methods inherited from Abstract

inherited, load!, loaded?

Class Method Details

.install!void

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

This method returns an undefined value.

Raises:

Since:

  • 0.25.0



11
12
13
14
15
16
17
18
19
20
21
22
# File 'lib/qonfig/plugins/vault.rb', line 11

def install!
  raise(
    Qonfig::UnresolvedPluginDependencyError,
    '::Vault does not exist or "vault" gem is not loaded'
  ) unless const_defined?('::Vault')

  require_relative 'vault/errors'
  require_relative 'vault/loaders/vault'
  require_relative 'vault/commands/definition/load_from_vault'
  require_relative 'vault/commands/definition/expose_vault'
  require_relative 'vault/dsl'
end