Class: LinuxHub::GithubTeam

Inherits:
Object
  • Object
show all
Defined in:
lib/linux-hub/github_team.rb

Instance Method Summary collapse

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_idObject



12
13
14
# File 'lib/linux-hub/github_team.rb', line 12

def team_id
  @team_id ||= fetch_team_id
end

#usersObject



8
9
10
# File 'lib/linux-hub/github_team.rb', line 8

def users
  @users ||= fetch_users
end