Class: Indocker::Artifacts::DTO::FileDTO
- Inherits:
-
Object
- Object
- Indocker::Artifacts::DTO::FileDTO
- Defined in:
- lib/indocker/artifacts/dto/file_dto.rb
Instance Attribute Summary collapse
-
#source_path ⇒ Object
readonly
Returns the value of attribute source_path.
-
#target_path ⇒ Object
readonly
Returns the value of attribute target_path.
Instance Method Summary collapse
-
#initialize(source_path:, target_path:) ⇒ FileDTO
constructor
A new instance of FileDTO.
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_path ⇒ Object (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_path ⇒ Object (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 |