Class: RailsSimpleEventSourcing::Configuration
- Inherits:
-
Object
- Object
- RailsSimpleEventSourcing::Configuration
- Defined in:
- lib/rails_simple_event_sourcing/configuration.rb
Instance Attribute Summary collapse
-
#events_per_page ⇒ Object
Returns the value of attribute events_per_page.
-
#use_naming_convention_fallback ⇒ Object
Returns the value of attribute use_naming_convention_fallback.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
7 8 9 10 |
# File 'lib/rails_simple_event_sourcing/configuration.rb', line 7 def initialize @use_naming_convention_fallback = true @events_per_page = 25 end |
Instance Attribute Details
#events_per_page ⇒ Object
Returns the value of attribute events_per_page.
5 6 7 |
# File 'lib/rails_simple_event_sourcing/configuration.rb', line 5 def events_per_page @events_per_page end |
#use_naming_convention_fallback ⇒ Object
Returns the value of attribute use_naming_convention_fallback.
5 6 7 |
# File 'lib/rails_simple_event_sourcing/configuration.rb', line 5 def use_naming_convention_fallback @use_naming_convention_fallback end |