Module: Octokit::EnterpriseAdminClient::Orgs
Relationships & Source Files | |
Extension / Inclusion / Inheritance Descendants | |
Included In:
| |
Defined in: | lib/octokit/enterprise_admin_client/orgs.rb |
Overview
Methods for the Enterprise Orgs API
Instance Method Summary
-
#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.
# File 'lib/octokit/enterprise_admin_client/orgs.rb', line 19
def create_organization(login, admin, = {}) [:login] = login [:admin] = admin post 'admin/organizations', end