Class: Spikard::AsyncApiConfig

Inherits:
Object
  • Object
show all
Defined in:
sig/types.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeAsyncApiConfig

Returns a new instance of AsyncApiConfig.

Parameters:

  • enabled: (Boolean)
  • spec: (json_value)


78
# File 'sig/types.rbs', line 78

def initialize: (?enabled: bool, ?spec: json_value) -> void

Instance Attribute Details

#enabledBoolean?

Returns the value of attribute enabled.

Returns:

  • (Boolean, nil)


75
76
77
# File 'sig/types.rbs', line 75

def enabled
  @enabled
end

#specjson_value?

Returns the value of attribute spec.

Returns:

  • (json_value, nil)


76
77
78
# File 'sig/types.rbs', line 76

def spec
  @spec
end