Class: Ghub::Models::BooleanLink
- Inherits:
-
Struct
- Object
- Struct
- Ghub::Models::BooleanLink
- Defined in:
- lib/ghub/models/boolean_link.rb
Overview
Defines a boolean link.
Instance Attribute Summary collapse
-
#enabled ⇒ Object
Returns the value of attribute enabled.
-
#url ⇒ Object
Returns the value of attribute url.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ BooleanLink
constructor
A new instance of BooleanLink.
Constructor Details
#initialize ⇒ BooleanLink
Returns a new instance of BooleanLink.
9 10 11 12 |
# File 'lib/ghub/models/boolean_link.rb', line 9 def initialize(**) super freeze end |
Instance Attribute Details
#enabled ⇒ Object
Returns the value of attribute enabled
6 7 8 |
# File 'lib/ghub/models/boolean_link.rb', line 6 def enabled @enabled end |
#url ⇒ Object
Returns the value of attribute url
6 7 8 |
# File 'lib/ghub/models/boolean_link.rb', line 6 def url @url end |
Class Method Details
.for ⇒ Object
7 |
# File 'lib/ghub/models/boolean_link.rb', line 7 def self.for(**) = new(**) |