Class: Gitomator::GitHub::Model::Team
- Inherits:
-
Object
- Object
- Gitomator::GitHub::Model::Team
- Defined in:
- lib/gitomator/github/model/team.rb
Instance Method Summary collapse
- #id ⇒ Object
-
#initialize(gh_team) ⇒ Team
constructor
A new instance of Team.
- #name ⇒ Object
Constructor Details
#initialize(gh_team) ⇒ Team
Returns a new instance of Team.
10 11 12 |
# File 'lib/gitomator/github/model/team.rb', line 10 def initialize(gh_team) @r = gh_team end |
Instance Method Details
#id ⇒ Object
14 15 16 |
# File 'lib/gitomator/github/model/team.rb', line 14 def id @r.id end |
#name ⇒ Object
18 19 20 |
# File 'lib/gitomator/github/model/team.rb', line 18 def name @r.name end |