Class: CrewCheck::Team

Inherits:
Object
  • Object
show all
Defined in:
lib/crew_check/team.rb

Instance Method Summary collapse

Constructor Details

#initialize(github_team = nil) ⇒ Team

Returns a new instance of Team.



3
4
5
# File 'lib/crew_check/team.rb', line 3

def initialize(github_team = nil)
  @github_team = github_team
end

Instance Method Details

#shorthand_nameObject



7
8
9
# File 'lib/crew_check/team.rb', line 7

def shorthand_name
  "#{organization_name}/#{name}"
end