Class: PgEventstore::BasicConfig

Inherits:
Object
  • Object
show all
Includes:
Extensions::OptionsExtension
Defined in:
lib/pg_eventstore/basic_config.rb,
sig/pg_eventstore/basic_config.rbs

Direct Known Subclasses

Config

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Extensions::OptionsExtension

included, #init_default_values, #options_hash, #readonly!, #readonly?, #readonly_error

Constructor Details

#initialize(name:) ⇒ BasicConfig



10
11
12
13
# File 'lib/pg_eventstore/basic_config.rb', line 10

def initialize(name:, **)
  super
  @name = name
end

Instance Attribute Details

#nameSymbol (readonly)

Returns the value of attribute name.



7
8
9
# File 'lib/pg_eventstore/basic_config.rb', line 7

def name
  @name
end