Class: Spikard::JsonRpcConfig

Inherits:
Object
  • Object
show all
Defined in:
sig/types.rbs

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeJsonRpcConfig

Returns a new instance of JsonRpcConfig.

Parameters:

  • enabled: (Boolean)
  • endpoint_path: (String)
  • enable_batch: (Boolean)
  • max_batch_size: (Integer)


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_batchBoolean?

Returns the value of attribute enable_batch.

Returns:

  • (Boolean, nil)


151
152
153
# File 'sig/types.rbs', line 151

def enable_batch
  @enable_batch
end

#enabledBoolean?

Returns the value of attribute enabled.

Returns:

  • (Boolean, nil)


149
150
151
# File 'sig/types.rbs', line 149

def enabled
  @enabled
end

#endpoint_pathString?

Returns the value of attribute endpoint_path.

Returns:

  • (String, nil)


150
151
152
# File 'sig/types.rbs', line 150

def endpoint_path
  @endpoint_path
end

#max_batch_sizeInteger?

Returns the value of attribute max_batch_size.

Returns:

  • (Integer, nil)


152
153
154
# File 'sig/types.rbs', line 152

def max_batch_size
  @max_batch_size
end

Class Method Details

.defaultJsonRpcConfig

Returns:



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

def self.default: () -> JsonRpcConfig