Class: Ghub::Models::BooleanLink

Inherits:
Struct
  • Object
show all
Defined in:
lib/ghub/models/boolean_link.rb

Overview

Defines a boolean link.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeBooleanLink

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

#enabledObject

Returns the value of attribute enabled

Returns:

  • (Object)

    the current value of enabled



6
7
8
# File 'lib/ghub/models/boolean_link.rb', line 6

def enabled
  @enabled
end

#urlObject

Returns the value of attribute url

Returns:

  • (Object)

    the current value of url



6
7
8
# File 'lib/ghub/models/boolean_link.rb', line 6

def url
  @url
end

Class Method Details

.forObject



7
# File 'lib/ghub/models/boolean_link.rb', line 7

def self.for(**) = new(**)