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