vendor/bundle/ruby/2.3.0/gems/octokit-4.3.0/lib/octokit/client/organizations.rb
# Remove organization member
#
# Requires authenticated organization owner or member with team `admin` access.
#
# @param org [String, Integer] Organization GitHub login or id.
# @param user [String] GitHub username of user to remove.
# @return [Boolean] True if removal is successful, false otherwise.
# @see https://developer.github.com/v3/orgs/members/#remove-a-member
# @example
#   @client.remove_organization_member('github', 'pengwynn')
# @example
#   @client.remove_org_member('github', 'pengwynn')
Remove organization member
Requires authenticated organization owner or member with team `admin` access.
Remove organization member Requires authenticated organization owner or member with team ` admin ` access .
def remove_organization_member(org, user, options = {})
        boolean_from_response :delete, "#{Organization.path org}/members/#{user}", options
      end
def remove_organization_member ( org , user , options = { } ) boolean_from_response :delete , "#{Organization.path org}/members/#{user}" , options end
Remove organization member
Requires authenticated organization owner or member with team `admin` access.
Remove organization member Requires authenticated organization owner or member with team ` admin ` access .
# this is a synonym for: for team in org.teams: remove_team_member(team.id, user) # provided in the GH API v3
True if removal is successful, false otherwise.
True if removal is successful false otherwise .
Boolean
org
Organization GitHub login or id.
Organization GitHub login or id .
user
GitHub username of user to remove.
GitHub username of user to remove .
options
see
None
example
None
example
None