Class: Sandthorn::Configuration
- Inherits:
-
Object
- Object
- Sandthorn::Configuration
- Extended by:
- Forwardable
- Defined in:
- lib/sandthorn.rb
Instance Method Summary collapse
- #event_store=(store) ⇒ Object (also: #event_stores=)
- #event_stores ⇒ Object
-
#initialize {|_self| ... } ⇒ Configuration
constructor
A new instance of Configuration.
- #map_types=(data) ⇒ Object
Constructor Details
#initialize {|_self| ... } ⇒ Configuration
Returns a new instance of Configuration.
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_stores ⇒ Object
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 |