Class: NeetoDeploy::CLI::DynoConsoleManager
- Defined in:
- lib/neeto_deploy/cli/dyno_console_manager.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#addon_name ⇒ Object
readonly
Returns the value of attribute addon_name.
-
#kind ⇒ Object
readonly
Returns the value of attribute kind.
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(addon_name) ⇒ DynoConsoleManager
constructor
A new instance of DynoConsoleManager.
- #process! ⇒ Object
Methods inherited from Base
Constructor Details
#initialize(addon_name) ⇒ DynoConsoleManager
Returns a new instance of DynoConsoleManager.
10 11 12 13 |
# File 'lib/neeto_deploy/cli/dyno_console_manager.rb', line 10 def initialize(addon_name) super() @addon_name = addon_name end |
Instance Attribute Details
#addon_name ⇒ Object (readonly)
Returns the value of attribute addon_name.
8 9 10 |
# File 'lib/neeto_deploy/cli/dyno_console_manager.rb', line 8 def addon_name @addon_name end |
#kind ⇒ Object (readonly)
Returns the value of attribute kind.
8 9 10 |
# File 'lib/neeto_deploy/cli/dyno_console_manager.rb', line 8 def kind @kind end |
Instance Method Details
#process! ⇒ Object
15 16 17 18 19 20 21 22 |
# File 'lib/neeto_deploy/cli/dyno_console_manager.rb', line 15 def process! start_spinner send_console_session_request ui.error("\n#{@response.body}") and return unless @response.success? start_console connection_cleanup_callback end |