Module: Octokit::EnterpriseAdminClient::Orgs
- Included in:
- Octokit::EnterpriseAdminClient
- Defined in:
- lib/octokit/enterprise_admin_client/orgs.rb
Overview
Methods for the Enterprise Orgs API
Instance Method Summary collapse
-
#create_organization(login, admin, options = {}) ⇒ nil
Create a new organization on the instance.
Instance Method Details
#create_organization(login, admin, options = {}) ⇒ nil
Create a new organization on the instance.
19 20 21 22 23 |
# File 'lib/octokit/enterprise_admin_client/orgs.rb', line 19 def create_organization(login, admin, = {}) [:login] = login [:admin] = admin post "admin/organizations", end |