Class: Vedeu::Events::Repository Private
- Inherits:
-
Repositories::Repository
- Object
- Repositories::Repository
- Vedeu::Events::Repository
- Defined in:
- lib/vedeu/events/repository.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Allows the storing of events.
Instance Attribute Summary
Attributes inherited from Repositories::Repository
Class Method Summary collapse
-
.reset! ⇒ Vedeu::Events::Repository
(also: reset)
private
Remove all stored models from the repository.
Methods inherited from Repositories::Repository
#all, #by_name, #current, #find, #find!, #find_or_create, #initialize, #inspect, #log_store, #registered?, #remove, #repository, #store, #valid_model?
Methods included from Repositories::Store
#each, #empty?, #exists?, #in_memory, #registered, #size
Methods included from Repositories::Storage
Methods included from Common
#absent?, #array?, #boolean, #boolean?, #empty_value?, #escape?, #falsy?, #hash?, #line_model?, #numeric?, #positionable?, #present?, #snake_case, #stream_model?, #string?, #symbol?, #truthy?, #view_model?
Methods included from Repositories::Registerable
Constructor Details
This class inherits a constructor from Vedeu::Repositories::Repository
Class Method Details
.reset! ⇒ Vedeu::Events::Repository Also known as: reset
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Remove all stored models from the repository.
21 22 23 |
# File 'lib/vedeu/events/repository.rb', line 21 def reset! @events = new(Vedeu::Events::Events) end |