class Qtc::Cli::Eds::Base

Protected Instance Methods

base_url() click to toggle source
# File lib/qtc/cli/eds/base.rb, line 22
def base_url
  ENV['QTC_EDS_URL'] || 'https://api.engin.io/v1'
end
client() click to toggle source

@return [Qtc::Client]

# File lib/qtc/cli/eds/base.rb, line 14
def client
  if @client.nil?
    @client = Qtc::Client.new(base_url)
  end

  @client
end