Class: Remover::Github
- Inherits:
-
Object
- Object
- Remover::Github
- Defined in:
- lib/remover/github.rb
Instance Attribute Summary collapse
-
#octokit ⇒ Object
Returns the value of attribute octokit.
Instance Method Summary collapse
-
#initialize(octokit) ⇒ Github
constructor
A new instance of Github.
- #team_members(github_team_id) ⇒ Object
- #team_repositories(github_team_id) ⇒ Object
- #teams ⇒ Object
Constructor Details
#initialize(octokit) ⇒ Github
Returns a new instance of Github.
7 8 9 |
# File 'lib/remover/github.rb', line 7 def initialize(octokit) @octokit = octokit end |
Instance Attribute Details
#octokit ⇒ Object
Returns the value of attribute octokit.
5 6 7 |
# File 'lib/remover/github.rb', line 5 def octokit @octokit end |
Instance Method Details
#team_members(github_team_id) ⇒ Object
17 18 19 |
# File 'lib/remover/github.rb', line 17 def team_members(github_team_id) octokit.team_members(github_team_id) end |
#team_repositories(github_team_id) ⇒ Object
21 22 23 |
# File 'lib/remover/github.rb', line 21 def team_repositories(github_team_id) octokit.team_repositories(github_team_id) end |