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)


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

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

Instance Attribute Details

#enabledBoolean?

Returns the value of attribute enabled.

Returns:

  • (Boolean, nil)


91
92
93
# File 'sig/types.rbs', line 91

def enabled
  @enabled
end

#specjson_value?

Returns the value of attribute spec.

Returns:

  • (json_value, nil)


92
93
94
# File 'sig/types.rbs', line 92

def spec
  @spec
end