Class: Bcome::Orchestrator::CommandGroup::Custom
- Defined in:
- lib/orchestrator/command_group/custom.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
#initialize, klass_for_type, new_of_type_from, #set_machines
Methods included from ValidateAndSet
Constructor Details
This class inherits a constructor from Bcome::Orchestrator::CommandGroup::Base
Instance Method Details
#execute!(current_context_machines, is_bootstrap) ⇒ Object
8 9 10 |
# File 'lib/orchestrator/command_group/custom.rb', line 8 def execute!(current_context_machines, is_bootstrap) ::Bcome::Orchestrator::CustomCommand.send(@bcome_command, current_context_machines, is_bootstrap) end |
#json_attributes ⇒ Object
4 5 6 |
# File 'lib/orchestrator/command_group/custom.rb', line 4 def json_attributes super + [:bcome_command] end |