Class: Spikard::JsonRpcConfig
- Inherits:
-
Object
- Object
- Spikard::JsonRpcConfig
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#enable_batch ⇒ Boolean?
Returns the value of attribute enable_batch.
-
#enabled ⇒ Boolean?
Returns the value of attribute enabled.
-
#endpoint_path ⇒ String?
Returns the value of attribute endpoint_path.
-
#max_batch_size ⇒ Integer?
Returns the value of attribute max_batch_size.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ JsonRpcConfig
constructor
A new instance of JsonRpcConfig.
Constructor Details
#initialize ⇒ JsonRpcConfig
Returns a new instance of JsonRpcConfig.
170 |
# File 'sig/types.rbs', line 170
def initialize: (?enabled: bool, ?endpoint_path: String, ?enable_batch: bool, ?max_batch_size: Integer) -> void
|
Instance Attribute Details
#enable_batch ⇒ Boolean?
Returns the value of attribute enable_batch.
167 168 169 |
# File 'sig/types.rbs', line 167 def enable_batch @enable_batch end |
#enabled ⇒ Boolean?
Returns the value of attribute enabled.
165 166 167 |
# File 'sig/types.rbs', line 165 def enabled @enabled end |
#endpoint_path ⇒ String?
Returns the value of attribute endpoint_path.
166 167 168 |
# File 'sig/types.rbs', line 166 def endpoint_path @endpoint_path end |
#max_batch_size ⇒ Integer?
Returns the value of attribute max_batch_size.
168 169 170 |
# File 'sig/types.rbs', line 168 def max_batch_size @max_batch_size end |