class GitHubV3API::Org
Represents a single GitHub Org
and provides access to its data attributes.
Attributes
avatar_url[R]
billing_email[R]
blog[R]
collaborators[R]
company[R]
created_at[R]
disk_usage[R]
email[R]
followers[R]
following[R]
html_url[R]
id[R]
location[R]
login[R]
name[R]
owned_private_repos[R]
plan[R]
private_gists[R]
private_repos[R]
public_gists[R]
public_repos[R]
space[R]
total_private_repos[R]
type[R]
url[R]
Public Instance Methods
members()
click to toggle source
Returns an array of GitHubV3API::User
instances representing the users who are members of the organization
# File lib/github_v3_api/org.rb, line 19 def members api.list_members(login) end
public_members()
click to toggle source
Returns an array of GitHubV3API::User
instances representing the users who are public members of the organization
# File lib/github_v3_api/org.rb, line 25 def public_members api.list_public_members(login) end
repos()
click to toggle source
Returns an array of GitHubV3API::Repo
instances representing the repos that belong to this org
# File lib/github_v3_api/org.rb, line 13 def repos api.list_repos(login) end
Private Instance Methods
natural_key()
click to toggle source
# File lib/github_v3_api/org.rb, line 31 def natural_key [data['login']] end