Class: KuberKit::Core::Templates::ArtifactFile
- Inherits:
-
AbstractTemplate
- Object
- AbstractTemplate
- KuberKit::Core::Templates::ArtifactFile
- Defined in:
- lib/kuber_kit/core/templates/artifact_file.rb
Instance Attribute Summary collapse
-
#artifact_name ⇒ Object
readonly
Returns the value of attribute artifact_name.
-
#file_path ⇒ Object
readonly
Returns the value of attribute file_path.
Attributes inherited from AbstractTemplate
Instance Method Summary collapse
-
#initialize(template_name, artifact_name:, file_path:) ⇒ ArtifactFile
constructor
A new instance of ArtifactFile.
Methods included from Extensions::Inspectable
Constructor Details
#initialize(template_name, artifact_name:, file_path:) ⇒ ArtifactFile
Returns a new instance of ArtifactFile.
4 5 6 7 8 |
# File 'lib/kuber_kit/core/templates/artifact_file.rb', line 4 def initialize(template_name, artifact_name:, file_path:) super(template_name) @artifact_name = artifact_name @file_path = file_path end |
Instance Attribute Details
#artifact_name ⇒ Object (readonly)
Returns the value of attribute artifact_name.
2 3 4 |
# File 'lib/kuber_kit/core/templates/artifact_file.rb', line 2 def artifact_name @artifact_name end |
#file_path ⇒ Object (readonly)
Returns the value of attribute file_path.
2 3 4 |
# File 'lib/kuber_kit/core/templates/artifact_file.rb', line 2 def file_path @file_path end |