class Github::Orgs::Members
def list(*args)
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(*args) params = arguments(args, :required => [:org_name]).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