Class: Indocker::Artifacts::DTO::FileDTO

Inherits:
Object
  • Object
show all
Defined in:
lib/indocker/artifacts/dto/file_dto.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(source_path:, target_path:) ⇒ FileDTO

Returns a new instance of FileDTO.



4
5
6
7
# File 'lib/indocker/artifacts/dto/file_dto.rb', line 4

def initialize(source_path:, target_path:)
  @source_path = source_path
  @target_path = target_path
end

Instance Attribute Details

#source_pathObject (readonly)

Returns the value of attribute source_path.



2
3
4
# File 'lib/indocker/artifacts/dto/file_dto.rb', line 2

def source_path
  @source_path
end

#target_pathObject (readonly)

Returns the value of attribute target_path.



2
3
4
# File 'lib/indocker/artifacts/dto/file_dto.rb', line 2

def target_path
  @target_path
end