Class: NeetoDeploy::CLI::Pg::Console
- Inherits:
-
DynoConsoleManager
- Object
- Base
- DynoConsoleManager
- NeetoDeploy::CLI::Pg::Console
- Defined in:
- lib/neeto_deploy/cli/pg/console.rb
Constant Summary
Constants inherited from DynoConsoleManager
DynoConsoleManager::DYNO_CONSOLE_MANAGER_URL
Instance Attribute Summary collapse
-
#addon_name ⇒ Object
readonly
Returns the value of attribute addon_name.
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(options) ⇒ Console
constructor
A new instance of Console.
- #run ⇒ Object
Methods included from Session
#common_body, require_app_option, #send_delete_request, #send_get_request, #send_patch_request, #send_post_request
Methods included from Constants
Methods inherited from DynoConsoleManager
Methods inherited from Base
Constructor Details
#initialize(options) ⇒ Console
Returns a new instance of Console.
17 18 19 20 21 22 |
# File 'lib/neeto_deploy/cli/pg/console.rb', line 17 def initialize() super() @addon_name = [:addon_name] @instance_name = [:addon_name] @connection_established = false end |
Instance Attribute Details
#addon_name ⇒ Object (readonly)
Returns the value of attribute addon_name.
15 16 17 |
# File 'lib/neeto_deploy/cli/pg/console.rb', line 15 def addon_name @addon_name end |
Instance Method Details
#run ⇒ Object
24 25 26 |
# File 'lib/neeto_deploy/cli/pg/console.rb', line 24 def run run_console end |