Class: Faulty::Storage::FaultTolerantProxy::Options

Inherits:
Struct
  • Object
show all
Includes:
ImmutableOptions
Defined in:
lib/faulty/storage/fault_tolerant_proxy.rb

Overview

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from ImmutableOptions

#defaults, #dup_with, #finalize, #initialize, #setup

Instance Attribute Details

#notifierEvents::Notifier (readonly)

Returns A Faulty notifier.

Returns:



21
22
23
24
25
26
27
28
29
# File 'lib/faulty/storage/fault_tolerant_proxy.rb', line 21

Options = Struct.new(
  :notifier
) do
  include ImmutableOptions

  def required
    %i[notifier]
  end
end

Instance Method Details

#requiredObject



26
27
28
# File 'lib/faulty/storage/fault_tolerant_proxy.rb', line 26

def required
  %i[notifier]
end