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)


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

Returns the value of attribute enable_batch.

Returns:

  • (Boolean, nil)


167
168
169
# File 'sig/types.rbs', line 167

def enable_batch
  @enable_batch
end

#enabledBoolean?

Returns the value of attribute enabled.

Returns:

  • (Boolean, nil)


165
166
167
# File 'sig/types.rbs', line 165

def enabled
  @enabled
end

#endpoint_pathString?

Returns the value of attribute endpoint_path.

Returns:

  • (String, nil)


166
167
168
# File 'sig/types.rbs', line 166

def endpoint_path
  @endpoint_path
end

#max_batch_sizeInteger?

Returns the value of attribute max_batch_size.

Returns:

  • (Integer, nil)


168
169
170
# File 'sig/types.rbs', line 168

def max_batch_size
  @max_batch_size
end

Class Method Details

.defaultJsonRpcConfig

Returns:



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

def self.default: () -> JsonRpcConfig