Skip to content
This repository was archived by the owner on Nov 1, 2017. It is now read-only.

Commit 278ef19

Browse files
committed
Merge pull request #80 from github/add-team-and-org-descriptions
Add team and org descriptions
2 parents 005a359 + 06a249a commit 278ef19

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

lib/resources.rb

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -686,7 +686,8 @@ def fetch_content(key)
686686
"login" => "github",
687687
"id" => 1,
688688
"url" => "https://api.github.com/orgs/github",
689-
"avatar_url" => "https://github.com/images/error/octocat_happy.gif"
689+
"avatar_url" => "https://github.com/images/error/octocat_happy.gif",
690+
"description" => "A great organization"
690691
}
691692

692693
FULL_ORG ||= ORG.merge({
@@ -719,13 +720,16 @@ def fetch_content(key)
719720
})
720721

721722
TEAM ||= {
723+
"id" => 1,
722724
"url" => "https://api.github.com/teams/1",
723725
"name" => "Owners",
724-
"id" => 1
726+
"description" => "A great team.",
727+
"permission" => "admin",
728+
"members_url" => "https://api.github.com/teams/1/members{/member}",
729+
"repositories_url" => "https://api.github.com/teams/1/repos"
725730
}
726731

727732
FULL_TEAM ||= TEAM.merge({
728-
"permission" => "admin",
729733
"members_count" => 3,
730734
"repos_count" => 10,
731735
"organization" => ORG

0 commit comments

Comments
 (0)