Class: Sandthorn::Configuration

Inherits:
Object
  • Object
show all
Extended by:
Forwardable
Defined in:
lib/sandthorn.rb

Instance Method Summary collapse

Constructor Details

#initialize {|_self| ... } ⇒ Configuration

Returns a new instance of Configuration.

Yields:

  • (_self)

Yield Parameters:



94
95
96
# File 'lib/sandthorn.rb', line 94

def initialize
  yield(self) if block_given?
end

Instance Method Details

#event_store=(store) ⇒ Object Also known as: event_stores=



102
103
104
# File 'lib/sandthorn.rb', line 102

def event_store=(store)
  @event_stores = EventStores.new(store)
end

#event_storesObject



98
99
100
# File 'lib/sandthorn.rb', line 98

def event_stores
  @event_stores ||= EventStores.new
end

#map_types=(data) ⇒ Object



106
107
108
# File 'lib/sandthorn.rb', line 106

def map_types= data
  @event_stores.map_types data
end