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])


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

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)


300
301
302
# File 'sig/types.rbs', line 300

def deprecated
  @deprecated
end

#descriptionString (readonly)

Returns the value of attribute description.

Returns:

  • (String)


297
298
299
# File 'sig/types.rbs', line 297

def description
  @description
end

#method_nameString (readonly)

Returns the value of attribute method_name.

Returns:

  • (String)


296
297
298
# File 'sig/types.rbs', line 296

def method_name
  @method_name
end

#params_schemajson_value (readonly)

Returns the value of attribute params_schema.

Returns:

  • (json_value)


298
299
300
# File 'sig/types.rbs', line 298

def params_schema
  @params_schema
end

#result_schemajson_value (readonly)

Returns the value of attribute result_schema.

Returns:

  • (json_value)


299
300
301
# File 'sig/types.rbs', line 299

def result_schema
  @result_schema
end

#tagsArray[String] (readonly)

Returns the value of attribute tags.

Returns:

  • (Array[String])


301
302
303
# File 'sig/types.rbs', line 301

def tags
  @tags
end