Class: Eco::API::UseCases::Service::Sftp
- Includes:
- Lib::Files::Sftp, WithTargetConfig, Language::Delegation::DelegatingBlank, Language::Delegation::DelegatingMissingConst, Language::Methods::AccessModifier
- Defined in:
- lib/eco/api/usecases/service/sftp.rb,
lib/eco/api/usecases/service/sftp/with_target_config.rb
Overview
Class that pulls configuration from the subject (i.e. remote_folder)
Defined Under Namespace
Modules: WithTargetConfig
Constant Summary collapse
- DELEGATED_BLANK_PROPERTIES =
%i[ remote_subfolder local_folder sftp_group_id ].freeze
Instance Method Summary collapse
-
#initialize(subject) ⇒ Sftp
constructor
A new instance of Sftp.
Methods included from Language::Delegation::DelegatingBlank
Constructor Details
#initialize(subject) ⇒ Sftp
Returns a new instance of Sftp.
29 30 31 |
# File 'lib/eco/api/usecases/service/sftp.rb', line 29 def initialize(subject) @subject = subject end |