Class: SemaphoreciApi::Org
- Inherits:
-
Object
- Object
- SemaphoreciApi::Org
- Defined in:
- lib/semaphoreci_api/client.rb
Overview
Get basic information about your organizations
Instance Method Summary collapse
-
#info(org_username) ⇒ Object
Info for existing organization.
-
#initialize(client) ⇒ Org
constructor
A new instance of Org.
-
#list ⇒ Object
List existing organizations.
Constructor Details
#initialize(client) ⇒ Org
Returns a new instance of Org
119 120 121 |
# File 'lib/semaphoreci_api/client.rb', line 119 def initialize(client) @client = client end |
Instance Method Details
#info(org_username) ⇒ Object
Info for existing organization.
126 127 128 |
# File 'lib/semaphoreci_api/client.rb', line 126 def info(org_username) @client.org.info(org_username) end |
#list ⇒ Object
List existing organizations.
131 132 133 |
# File 'lib/semaphoreci_api/client.rb', line 131 def list() @client.org.list() end |