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

Commit 06a249a

Browse files
committed
Document undocumented fields and move permission field
1 parent d97670c commit 06a249a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

lib/resources.rb

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -720,14 +720,16 @@ def fetch_content(key)
720720
})
721721

722722
TEAM ||= {
723+
"id" => 1,
723724
"url" => "https://api.github.com/teams/1",
724725
"name" => "Owners",
725726
"description" => "A great team.",
726-
"id" => 1
727+
"permission" => "admin",
728+
"members_url" => "https://api.github.com/teams/1/members{/member}",
729+
"repositories_url" => "https://api.github.com/teams/1/repos"
727730
}
728731

729732
FULL_TEAM ||= TEAM.merge({
730-
"permission" => "admin",
731733
"members_count" => 3,
732734
"repos_count" => 10,
733735
"organization" => ORG

0 commit comments

Comments
 (0)