class Github::Orgs::Members

def list(org_name, params={})


github.orgs.members.list 'org-name', :public => true { |memb| ... }
github.orgs.members.list 'org-name', :public => true
github = Github.new
= Examples
Members of an organization can choose to have their membership publicized or not.

List public members

github.orgs.members.list 'org-name' { |memb| ... }
github.orgs.members.list 'org-name'
github = Github.new
= Examples

Otherwise only public members are returned.
both concealed and public members will be returned.
If the authenticated user is also a member of this organization then
that belongs to at least 1 team in the organization.
List all users who are members of an organization. A member is a user

List members
def list(org_name, params={})
  assert_presence_of org_name
  normalize! params
  response = if params.delete('public')
    get_request("/orgs/#{org_name}/public_members", params)
  else
    get_request("/orgs/#{org_name}/members", params)
  end
  return response unless block_given?
  response.each { |el| yield el }
end