Class: NeetoDeploy::CLI::Login::Base
- Includes:
- Constants
- Defined in:
- lib/neeto_deploy/cli/login/base.rb
Constant Summary
Constants included from Constants
Constants::LOGIN_STATUS_CHECK_INTERVAL_SECONDS, Constants::NEETO_DEPLOY_CLI_API_SESSIONS_URL
Instance Attribute Summary collapse
-
#login_token ⇒ Object
Returns the value of attribute login_token.
-
#org_subdomain ⇒ Object
Returns the value of attribute org_subdomain.
Attributes inherited from Base
Instance Method Summary collapse
Methods included from Constants
#session_create_url, #session_login_status_url, #session_login_url
Methods inherited from Base
#create_config_dir, #initialize
Constructor Details
This class inherits a constructor from NeetoDeploy::CLI::Base
Instance Attribute Details
#login_token ⇒ Object
Returns the value of attribute login_token.
15 16 17 |
# File 'lib/neeto_deploy/cli/login/base.rb', line 15 def login_token @login_token end |
#org_subdomain ⇒ Object
Returns the value of attribute org_subdomain.
15 16 17 |
# File 'lib/neeto_deploy/cli/login/base.rb', line 15 def org_subdomain @org_subdomain end |
Instance Method Details
#process! ⇒ Object
17 18 19 20 21 22 |
# File 'lib/neeto_deploy/cli/login/base.rb', line 17 def process! init_session ask_for_org_subdomain show_login_link_and_open_in_browser wait_until_user_authenticates! end |