Class: KuberKit::Core::ArtifactPath

Inherits:
Object
  • Object
show all
Defined in:
lib/kuber_kit/core/artifact_path.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_nameObject (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_pathObject (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