Class: Spikard::JsonRpcMethodInfo
- Inherits:
-
Object
- Object
- Spikard::JsonRpcMethodInfo
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#deprecated ⇒ Boolean
readonly
Returns the value of attribute deprecated.
-
#description ⇒ String
readonly
Returns the value of attribute description.
-
#method_name ⇒ String
readonly
Returns the value of attribute method_name.
-
#params_schema ⇒ json_value
readonly
Returns the value of attribute params_schema.
-
#result_schema ⇒ json_value
readonly
Returns the value of attribute result_schema.
-
#tags ⇒ Array[String]
readonly
Returns the value of attribute tags.
Instance Method Summary collapse
-
#initialize ⇒ JsonRpcMethodInfo
constructor
A new instance of JsonRpcMethodInfo.
Constructor Details
#initialize ⇒ JsonRpcMethodInfo
Returns a new instance of JsonRpcMethodInfo.
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
#deprecated ⇒ Boolean (readonly)
Returns the value of attribute deprecated.
300 301 302 |
# File 'sig/types.rbs', line 300 def deprecated @deprecated end |
#description ⇒ String (readonly)
Returns the value of attribute description.
297 298 299 |
# File 'sig/types.rbs', line 297 def description @description end |
#method_name ⇒ String (readonly)
Returns the value of attribute method_name.
296 297 298 |
# File 'sig/types.rbs', line 296 def method_name @method_name end |
#params_schema ⇒ json_value (readonly)
Returns the value of attribute params_schema.
298 299 300 |
# File 'sig/types.rbs', line 298 def params_schema @params_schema end |
#result_schema ⇒ json_value (readonly)
Returns the value of attribute result_schema.
299 300 301 |
# File 'sig/types.rbs', line 299 def result_schema @result_schema end |
#tags ⇒ Array[String] (readonly)
Returns the value of attribute tags.
301 302 303 |
# File 'sig/types.rbs', line 301 def @tags end |