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.
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
#deprecated ⇒ Boolean (readonly)
Returns the value of attribute deprecated.
280 281 282 |
# File 'sig/types.rbs', line 280 def deprecated @deprecated end |
#description ⇒ String (readonly)
Returns the value of attribute description.
277 278 279 |
# File 'sig/types.rbs', line 277 def description @description end |
#method_name ⇒ String (readonly)
Returns the value of attribute method_name.
276 277 278 |
# File 'sig/types.rbs', line 276 def method_name @method_name end |
#params_schema ⇒ json_value (readonly)
Returns the value of attribute params_schema.
278 279 280 |
# File 'sig/types.rbs', line 278 def params_schema @params_schema end |
#result_schema ⇒ json_value (readonly)
Returns the value of attribute result_schema.
279 280 281 |
# File 'sig/types.rbs', line 279 def result_schema @result_schema end |
#tags ⇒ Array[String] (readonly)
Returns the value of attribute tags.
281 282 283 |
# File 'sig/types.rbs', line 281 def @tags end |