Module: CfScript::Scope::App::State
- Included in:
- CfScript::Scope::App
- Defined in:
- lib/cf_script/scope/app/state.rb
Instance Method Summary collapse
Instance Method Details
#push(options = {}) ⇒ Object
21 22 23 24 25 |
# File 'lib/cf_script/scope/app/state.rb', line 21 def push( = {}) CfScript::Command.push name, do |app_info| @app_info = app_info if app_info end end |
#restage ⇒ Object
27 28 29 30 31 |
# File 'lib/cf_script/scope/app/state.rb', line 27 def restage CfScript::Command.restage name do |app_info| @app_info = app_info if app_info end end |
#restart ⇒ Object
15 16 17 18 19 |
# File 'lib/cf_script/scope/app/state.rb', line 15 def restart CfScript::Command.restart name do |app_info| @app_info = app_info if app_info end end |