Module: RailsEventStore
- Defined in:
- lib/rails_event_store/all.rb,
lib/rails_event_store/client.rb,
lib/rails_event_store/railtie.rb,
lib/rails_event_store/version.rb,
lib/rails_event_store/middleware.rb,
lib/rails_event_store/deprecations.rb,
lib/rails_event_store/active_job_dispatcher.rb
Defined Under Namespace
Modules: AsyncProxyStrategy
Classes: ActiveJobDispatcher, Client, Middleware, Railtie
Constant Summary
collapse
- Event =
RubyEventStore::Event
- InMemoryRepository =
RubyEventStore::InMemoryRepository
- EventBroker =
RubyEventStore::PubSub::Broker
- Projection =
RubyEventStore::Projection
- WrongExpectedEventVersion =
RubyEventStore::WrongExpectedEventVersion
- InvalidExpectedVersion =
RubyEventStore::InvalidExpectedVersion
- IncorrectStreamData =
RubyEventStore::IncorrectStreamData
- EventNotFound =
RubyEventStore::EventNotFound
- SubscriberNotExist =
RubyEventStore::SubscriberNotExist
- InvalidHandler =
RubyEventStore::InvalidHandler
- InvalidPageStart =
RubyEventStore::InvalidPageStart
- InvalidPageSize =
RubyEventStore::InvalidPageSize
- GLOBAL_STREAM =
RubyEventStore::GLOBAL_STREAM
- PAGE_SIZE =
RubyEventStore::PAGE_SIZE
- VERSION =
"0.18.0"
Class Method Summary
collapse
Class Method Details
.const_missing(const_name) ⇒ Object
2
3
4
5
6
|
# File 'lib/rails_event_store/deprecations.rb', line 2
def self.const_missing(const_name)
super unless const_name == :MethodNotDefined
warn "`RailsEventStore::MethodNotDefined` has been deprecated. Use `RailsEventStore::InvalidHandler` instead."
InvalidHandler
end
|
.event_repository=(event_repository) ⇒ Object
27
28
29
30
|
# File 'lib/rails_event_store/all.rb', line 27
def self.event_repository=(event_repository)
raise ArgumentError unless event_repository
@@event_repository = event_repository
end
|