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.
154 |
# File 'sig/types.rbs', line 154
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.
151 152 153 |
# File 'sig/types.rbs', line 151 def enable_batch @enable_batch end |
#enabled ⇒ Boolean?
Returns the value of attribute enabled.
149 150 151 |
# File 'sig/types.rbs', line 149 def enabled @enabled end |
#endpoint_path ⇒ String?
Returns the value of attribute endpoint_path.
150 151 152 |
# File 'sig/types.rbs', line 150 def endpoint_path @endpoint_path end |
#max_batch_size ⇒ Integer?
Returns the value of attribute max_batch_size.
152 153 154 |
# File 'sig/types.rbs', line 152 def max_batch_size @max_batch_size end |