Sha256: 218bbca1b037ef77476585dadde5c60ec4630c9b7e1f223c985d6247c1c6e2c5
Contents?: true
Size: 910 Bytes
Versions: 43
Compression:
Stored size: 910 Bytes
Contents
module Octokit class EnterpriseAdminClient # Methods for the Enterprise Orgs API # # @see https://developer.github.com/v3/enterprise-admin/orgs/ module Orgs # Create a new organization on the instance. # # @param login [String] The organization's username. # @param admin [String] The login of the user who will manage this organization. # @param options [Hash] A set of options. # @option options [String] :profile_name The organization's display name. # @return [nil] # @see https://developer.github.com/v3/enterprise-admin/orgs/#create-an-organization # @example # @admin_client.create_organization('SuchAGreatOrg', 'gjtorikian') def create_organization(login, admin, options = {}) options[:login] = login options[:admin] = admin post "admin/organizations", options end end end end
Version data entries
43 entries across 28 versions & 2 rubygems