Class: Ghub::Models::Label
- Inherits:
-
Struct
- Object
- Struct
- Ghub::Models::Label
- Defined in:
- lib/ghub/models/label.rb
Overview
Defines a label.
Instance Attribute Summary collapse
-
#color ⇒ Object
Returns the value of attribute color.
-
#default ⇒ Object
Returns the value of attribute default.
-
#description ⇒ Object
Returns the value of attribute description.
-
#id ⇒ Object
Returns the value of attribute id.
-
#name ⇒ Object
Returns the value of attribute name.
-
#node_id ⇒ Object
Returns the value of attribute node_id.
-
#url ⇒ Object
Returns the value of attribute url.
Instance Method Summary collapse
-
#initialize ⇒ Label
constructor
A new instance of Label.
Constructor Details
#initialize ⇒ Label
Returns a new instance of Label.
15 16 17 18 |
# File 'lib/ghub/models/label.rb', line 15 def initialize(**) super freeze end |
Instance Attribute Details
#color ⇒ Object
Returns the value of attribute color
6 7 8 |
# File 'lib/ghub/models/label.rb', line 6 def color @color end |
#default ⇒ Object
Returns the value of attribute default
6 7 8 |
# File 'lib/ghub/models/label.rb', line 6 def default @default end |
#description ⇒ Object
Returns the value of attribute description
6 7 8 |
# File 'lib/ghub/models/label.rb', line 6 def description @description end |
#id ⇒ Object
Returns the value of attribute id
6 7 8 |
# File 'lib/ghub/models/label.rb', line 6 def id @id end |
#name ⇒ Object
Returns the value of attribute name
6 7 8 |
# File 'lib/ghub/models/label.rb', line 6 def name @name end |
#node_id ⇒ Object
Returns the value of attribute node_id
6 7 8 |
# File 'lib/ghub/models/label.rb', line 6 def node_id @node_id end |
#url ⇒ Object
Returns the value of attribute url
6 7 8 |
# File 'lib/ghub/models/label.rb', line 6 def url @url end |