Class: Ghub::Models::Team
- Inherits:
-
Struct
- Object
- Struct
- Ghub::Models::Team
- Defined in:
- lib/ghub/models/team.rb
Overview
Defines a team.
Instance Attribute Summary collapse
-
#description ⇒ Object
Returns the value of attribute description.
-
#html_url ⇒ Object
Returns the value of attribute html_url.
-
#id ⇒ Object
Returns the value of attribute id.
-
#members_url ⇒ Object
Returns the value of attribute members_url.
-
#name ⇒ Object
Returns the value of attribute name.
-
#node_id ⇒ Object
Returns the value of attribute node_id.
-
#parent ⇒ Object
Returns the value of attribute parent.
-
#permission ⇒ Object
Returns the value of attribute permission.
-
#privacy ⇒ Object
Returns the value of attribute privacy.
-
#repositories_url ⇒ Object
Returns the value of attribute repositories_url.
-
#slug ⇒ Object
Returns the value of attribute slug.
-
#url ⇒ Object
Returns the value of attribute url.
Instance Method Summary collapse
-
#initialize ⇒ Team
constructor
A new instance of Team.
Constructor Details
#initialize ⇒ Team
Returns a new instance of Team.
20 21 22 23 |
# File 'lib/ghub/models/team.rb', line 20 def initialize(**) super freeze end |
Instance Attribute Details
#description ⇒ Object
Returns the value of attribute description
6 7 8 |
# File 'lib/ghub/models/team.rb', line 6 def description @description end |
#html_url ⇒ Object
Returns the value of attribute html_url
6 7 8 |
# File 'lib/ghub/models/team.rb', line 6 def html_url @html_url end |
#id ⇒ Object
Returns the value of attribute id
6 7 8 |
# File 'lib/ghub/models/team.rb', line 6 def id @id end |
#members_url ⇒ Object
Returns the value of attribute members_url
6 7 8 |
# File 'lib/ghub/models/team.rb', line 6 def members_url @members_url end |
#name ⇒ Object
Returns the value of attribute name
6 7 8 |
# File 'lib/ghub/models/team.rb', line 6 def name @name end |
#node_id ⇒ Object
Returns the value of attribute node_id
6 7 8 |
# File 'lib/ghub/models/team.rb', line 6 def node_id @node_id end |
#parent ⇒ Object
Returns the value of attribute parent
6 7 8 |
# File 'lib/ghub/models/team.rb', line 6 def parent @parent end |
#permission ⇒ Object
Returns the value of attribute permission
6 7 8 |
# File 'lib/ghub/models/team.rb', line 6 def @permission end |
#privacy ⇒ Object
Returns the value of attribute privacy
6 7 8 |
# File 'lib/ghub/models/team.rb', line 6 def privacy @privacy end |
#repositories_url ⇒ Object
Returns the value of attribute repositories_url
6 7 8 |
# File 'lib/ghub/models/team.rb', line 6 def repositories_url @repositories_url end |
#slug ⇒ Object
Returns the value of attribute slug
6 7 8 |
# File 'lib/ghub/models/team.rb', line 6 def slug @slug end |
#url ⇒ Object
Returns the value of attribute url
6 7 8 |
# File 'lib/ghub/models/team.rb', line 6 def url @url end |