Class: KuberKit::Core::ArtifactPath
- Defined in:
- lib/kuber_kit/core/artifact_path.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.
Instance Method Summary collapse
-
#initialize(artifact_name:, file_path:) ⇒ ArtifactPath
constructor
A new instance of ArtifactPath.
Constructor Details
#initialize(artifact_name:, file_path:) ⇒ ArtifactPath
Returns a new instance of ArtifactPath.
4 5 6 7 |
# File 'lib/kuber_kit/core/artifact_path.rb', line 4 def initialize(artifact_name:, file_path:) @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/artifact_path.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/artifact_path.rb', line 2 def file_path @file_path end |