Class: Kamal::Configuration::Env::Tag
- Inherits:
-
Object
- Object
- Kamal::Configuration::Env::Tag
- Defined in:
- lib/kamal/configuration/env/tag.rb
Instance Attribute Summary collapse
-
#config ⇒ Object
readonly
Returns the value of attribute config.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#secrets ⇒ Object
readonly
Returns the value of attribute secrets.
Instance Method Summary collapse
- #env ⇒ Object
-
#initialize(name, config:, secrets:) ⇒ Tag
constructor
A new instance of Tag.
Constructor Details
#initialize(name, config:, secrets:) ⇒ Tag
Returns a new instance of Tag.
4 5 6 7 8 |
# File 'lib/kamal/configuration/env/tag.rb', line 4 def initialize(name, config:, secrets:) @name = name @config = config @secrets = secrets end |
Instance Attribute Details
#config ⇒ Object (readonly)
Returns the value of attribute config.
2 3 4 |
# File 'lib/kamal/configuration/env/tag.rb', line 2 def config @config end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
2 3 4 |
# File 'lib/kamal/configuration/env/tag.rb', line 2 def name @name end |
#secrets ⇒ Object (readonly)
Returns the value of attribute secrets.
2 3 4 |
# File 'lib/kamal/configuration/env/tag.rb', line 2 def secrets @secrets end |
Instance Method Details
#env ⇒ Object
10 11 12 |
# File 'lib/kamal/configuration/env/tag.rb', line 10 def env Kamal::Configuration::Env.new(config: config, secrets: secrets) end |