Class: Serverkit::Resources::Command
- Defined in:
- lib/serverkit/resources/command.rb
Instance Attribute Summary
Attributes inherited from Base
#attributes, #backend, #recipe
Instance Method Summary collapse
Methods inherited from Base
#all_errors, attribute, #handlers, #id, #initialize, #inspect_apply_result, #inspect_check_result, #notifiable?, #run_apply, #run_check, #to_a
Constructor Details
This class inherits a constructor from Serverkit::Resources::Base
Instance Method Details
#apply ⇒ Object
Note:
Override
11 12 13 |
# File 'lib/serverkit/resources/command.rb', line 11 def apply run_command(script) end |
#check ⇒ Object
Note:
Override
16 17 18 19 20 21 22 |
# File 'lib/serverkit/resources/command.rb', line 16 def check if check_script check_command(check_script) else false end end |