Class: MotherBrain::Gear::Service::ActionRunner::CleanRoom Private
- Inherits:
-
CleanRoomBase
- Object
- CleanRoomBase
- MotherBrain::Gear::Service::ActionRunner::CleanRoom
- Defined in:
- lib/mb/gears/service/action_runner.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Instance Method Summary collapse
- #environment_attribute(key, value, options = {}) ⇒ Object private
- #node_attribute(key, value, options = {}) ⇒ Object private
- #service_recipe(recipe) ⇒ Object private
Methods inherited from CleanRoomBase
Methods included from Logging
add_argument_header, dev, filename, #log_exception, logger, #logger, reset, set_logger, setup
Constructor Details
This class inherits a constructor from MotherBrain::CleanRoomBase
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class MotherBrain::CleanRoomBase
Instance Method Details
#environment_attribute(key, value, options = {}) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
80 81 82 83 |
# File 'lib/mb/gears/service/action_runner.rb', line 80 def environment_attribute(key, value, = {}) = .reverse_merge(toggle: false) real_model.add_environment_attribute(key, value, ) end |
#node_attribute(key, value, options = {}) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
85 86 87 88 |
# File 'lib/mb/gears/service/action_runner.rb', line 85 def node_attribute(key, value, = {}) = .reverse_merge(toggle: false) real_model.add_node_attribute(key, value, ) end |
#service_recipe(recipe) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
76 77 78 |
# File 'lib/mb/gears/service/action_runner.rb', line 76 def service_recipe(recipe) real_model.set_service_recipe(recipe) end |