Class: LinuxHub::GithubTeam
- Inherits:
-
Object
- Object
- LinuxHub::GithubTeam
- Defined in:
- lib/linux-hub/github_team.rb
Instance Method Summary collapse
-
#initialize(organisation:, team:) ⇒ GithubTeam
constructor
A new instance of GithubTeam.
- #team_id ⇒ Object
- #users ⇒ Object
Constructor Details
#initialize(organisation:, team:) ⇒ GithubTeam
Returns a new instance of GithubTeam.
3 4 5 6 |
# File 'lib/linux-hub/github_team.rb', line 3 def initialize(organisation:, team:) @org = organisation @team = team end |
Instance Method Details
#team_id ⇒ Object
12 13 14 |
# File 'lib/linux-hub/github_team.rb', line 12 def team_id @team_id ||= fetch_team_id end |
#users ⇒ Object
8 9 10 |
# File 'lib/linux-hub/github_team.rb', line 8 def users @users ||= fetch_users end |