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:



34
35
36
37
38
39
40
41
42
# File 'lib/faulty/storage/fault_tolerant_proxy.rb', line 34

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

  def required
    %i[notifier]
  end
end

Instance Method Details

#requiredObject



39
40
41
# File 'lib/faulty/storage/fault_tolerant_proxy.rb', line 39

def required
  %i[notifier]
end