Sha256: d2046cc8f68c2df84bc4f411cd8c40f7408722042e7e785fee783a00eb71d20c
Contents?: true
Size: 676 Bytes
Versions: 2
Compression:
Stored size: 676 Bytes
Contents
# frozen_string_literal: true module NeetoDeploy class CLI module Login module Constants NEETO_DEPLOY_CLI_API_SESSIONS_URL = "#{NEETO_DEPLOY_CLI_API_BASE_URL}/sessions".freeze LOGIN_STATUS_CHECK_INTERVAL_SECONDS = 2 def session_create_url NEETO_DEPLOY_CLI_API_SESSIONS_URL end def session_login_url(org_subdomain) org_url = NEETO_DEPLOY_HOST.sub("app.", "#{org_subdomain}.") "#{org_url}/admin/cli/login?token=#{login_token}" end def session_login_status_url "#{NEETO_DEPLOY_CLI_API_BASE_URL}/sessions/#{login_token}/status" end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
neetodeploy-1.1.13 | lib/neeto_deploy/cli/login/constants.rb |
neetodeploy-1.1.12 | lib/neeto_deploy/cli/login/constants.rb |