class Github::Orgs
def edit(org_name, params={})
"name": "github"
"location": "San Francisco",
"email": "support@github.com",
"company": "GitHub",
"blog": "https://github.com/blog",
"billing_email": "support@github.com",
github.orgs.edit 'github',
github = Github.new oauth_token: '...'
= Examples
:name - Optional string
:location - Optional string
:email - Optional string
:company - Optional string
:billing_email - Optional string - Billing email address. This address is not publicized.
= Parameters
Edit organization
def edit(org_name, params={}) assert_presence_of org_name normalize! params filter! VALID_ORG_PARAM_NAMES, params patch_request("/orgs/#{org_name}", params) end