Class: Kamal::Configuration::Validator::Env

Inherits:
Kamal::Configuration::Validator show all
Defined in:
lib/kamal/configuration/validator/env.rb

Constant Summary collapse

SPECIAL_KEYS =
[ "clear", "secret", "tags" ]

Instance Attribute Summary

Attributes inherited from Kamal::Configuration::Validator

#config, #context, #example

Instance Method Summary collapse

Methods inherited from Kamal::Configuration::Validator

#initialize

Constructor Details

This class inherits a constructor from Kamal::Configuration::Validator

Instance Method Details

#validate!Object



4
5
6
7
8
9
10
# File 'lib/kamal/configuration/validator/env.rb', line 4

def validate!
  if known_keys.any?
    validate_complex_env!
  else
    validate_simple_env!
  end
end