Class: Spikard::JsonRpcMethodInfo

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeJsonRpcMethodInfo

Returns a new instance of JsonRpcMethodInfo.

Parameters:

  • method_name: (String)
  • description: (String)
  • params_schema: (json_value)
  • result_schema: (json_value)
  • deprecated: (Boolean)
  • tags: (Array[String])


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

def initialize: (method_name: String, ?description: String, ?params_schema: json_value, ?result_schema: json_value, deprecated: bool, tags: Array[String]) -> void

Instance Attribute Details

#deprecatedBoolean (readonly)

Returns the value of attribute deprecated.

Returns:

  • (Boolean)


280
281
282
# File 'sig/types.rbs', line 280

def deprecated
  @deprecated
end

#descriptionString (readonly)

Returns the value of attribute description.

Returns:

  • (String)


277
278
279
# File 'sig/types.rbs', line 277

def description
  @description
end

#method_nameString (readonly)

Returns the value of attribute method_name.

Returns:

  • (String)


276
277
278
# File 'sig/types.rbs', line 276

def method_name
  @method_name
end

#params_schemajson_value (readonly)

Returns the value of attribute params_schema.

Returns:

  • (json_value)


278
279
280
# File 'sig/types.rbs', line 278

def params_schema
  @params_schema
end

#result_schemajson_value (readonly)

Returns the value of attribute result_schema.

Returns:

  • (json_value)


279
280
281
# File 'sig/types.rbs', line 279

def result_schema
  @result_schema
end

#tagsArray[String] (readonly)

Returns the value of attribute tags.

Returns:

  • (Array[String])


281
282
283
# File 'sig/types.rbs', line 281

def tags
  @tags
end