Class: Dev::Docker::Artifact

Inherits:
Object
  • Object
show all
Defined in:
lib/firespring_dev_commands/docker/artifact.rb

Overview

Contains the local path and container path for and artifact that should be copied back to the user’s local systea

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(container_path:, local_path:) ⇒ Artifact

Returns a new instance of Artifact.



7
8
9
10
# File 'lib/firespring_dev_commands/docker/artifact.rb', line 7

def initialize(container_path:, local_path:)
  @container_path = container_path
  @local_path = local_path
end

Instance Attribute Details

#container_pathObject

Returns the value of attribute container_path.



5
6
7
# File 'lib/firespring_dev_commands/docker/artifact.rb', line 5

def container_path
  @container_path
end

#local_pathObject

Returns the value of attribute local_path.



5
6
7
# File 'lib/firespring_dev_commands/docker/artifact.rb', line 5

def local_path
  @local_path
end