Module: Sem::API::Base

Included in:
EnvVar, File, Org, Project, SharedConfig, Team, User
Defined in:
lib/sem/api/base.rb

Class Method Summary collapse

Class Method Details

.clientObject



4
5
6
7
8
9
10
11
# File 'lib/sem/api/base.rb', line 4

def client
  @client ||= SemaphoreClient.new(
    Sem::Configuration.auth_token,
    :api_url => Sem::Configuration.api_url,
    :verbose => (Sem.log_level == Sem::LOG_LEVEL_TRACE),
    :auto_paginate => true
  )
end