Class: SemaphoreciApi::Client

Inherits:
Object
  • Object
show all
Defined in:
lib/semaphoreci_api/client.rb

Overview

Semaphore

Instance Method Summary collapse

Constructor Details

#initialize(client) ⇒ Client

Returns a new instance of Client



96
97
98
# File 'lib/semaphoreci_api/client.rb', line 96

def initialize(client)
  @client = client
end

Instance Method Details

#orgOrg

Get basic information about your organizations

Returns:



103
104
105
# File 'lib/semaphoreci_api/client.rb', line 103

def org
  @org_resource ||= Org.new(@client)
end

#teamTeam

All aspects of team management

Returns:



110
111
112
# File 'lib/semaphoreci_api/client.rb', line 110

def team
  @team_resource ||= Team.new(@client)
end