Sha256: 1dc410b4dd0cad098f842a3d561560db2e8cf8548b9edc4277915312cf0c0563
Contents?: true
Size: 474 Bytes
Versions: 3
Compression:
Stored size: 474 Bytes
Contents
module CrewCheck class Team def initialize(github_team = nil) @github_team = github_team end def shorthand_name "#{organization_name}/#{name}" end protected def name if @github_team[:name] @github_team[:name].downcase end end def organization_name if @github_team[:organization] && @github_team[:organization][:login] @github_team[:organization][:login].downcase end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
omniauth-crew-check-0.0.4 | lib/crew_check/team.rb |
omniauth-crew-check-0.0.3 | lib/crew_check/team.rb |
omniauth-crew-check-0.0.2 | lib/crew_check/team.rb |