class ApiConnectClient::Config

Public Class Methods

context() click to toggle source
# File lib/api_connect_client/config.rb, line 9
def context
  @context ||= ''
end
endpoint() click to toggle source
# File lib/api_connect_client/config.rb, line 17
def endpoint
  @endpoint ||= 'https://us.apiconnect.ibmcloud.com/v1/portal'
end
manager_password() click to toggle source
# File lib/api_connect_client/config.rb, line 30
def manager_password
  @manager_password ||= ''
end
manager_username() click to toggle source
# File lib/api_connect_client/config.rb, line 26
def manager_username
  @manager_username ||= ''
end
register_context(context) click to toggle source
# File lib/api_connect_client/config.rb, line 5
def register_context(context)
  @context = context
end
register_endpoint(endpoint) click to toggle source
# File lib/api_connect_client/config.rb, line 13
def register_endpoint(endpoint)
  @endpoint = endpoint
end
register_manager_credentials(username, password) click to toggle source
# File lib/api_connect_client/config.rb, line 21
def register_manager_credentials(username, password)
  @manager_username = username
  @manager_password = password
end