Class: Faulty::Storage::FallbackChain::Options

Inherits:
Struct
  • Object
show all
Includes:
ImmutableOptions
Defined in:
lib/faulty/storage/fallback_chain.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:



28
29
30
31
32
33
34
35
36
# File 'lib/faulty/storage/fallback_chain.rb', line 28

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

  def required
    %i[notifier]
  end
end

Instance Method Details

#requiredObject



33
34
35
# File 'lib/faulty/storage/fallback_chain.rb', line 33

def required
  %i[notifier]
end