Class: BeamUp::Providers::Transporter::Config
- Inherits:
-
Object
- Object
- BeamUp::Providers::Transporter::Config
- Defined in:
- lib/beam_up/providers/transporter.rb
Instance Attribute Summary collapse
-
#target_directory ⇒ Object
Returns the value of attribute target_directory.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#target_directory ⇒ Object
Returns the value of attribute target_directory.
11 12 13 |
# File 'lib/beam_up/providers/transporter.rb', line 11 def target_directory @target_directory end |
Class Method Details
.config_keys ⇒ Object
9 |
# File 'lib/beam_up/providers/transporter.rb', line 9 def self.config_keys = %w[target_directory] |
Instance Method Details
#validate! ⇒ Object
18 19 20 |
# File 'lib/beam_up/providers/transporter.rb', line 18 def validate! raise ConfigurationError, "Target directory must be set" unless target_directory end |
#with(options) ⇒ Object
13 14 15 16 |
# File 'lib/beam_up/providers/transporter.rb', line 13 def with() self.target_directory = [:target_directory] self end |