Class: Hyrax::Event

Inherits:
Object
  • Object
show all
Defined in:
app/models/hyrax/event.rb

Class Method Summary collapse

Class Method Details

.create(action, timestamp) ⇒ Object

Creates an event in Redis



4
5
6
# File 'app/models/hyrax/event.rb', line 4

def self.create(action, timestamp)
  store.create(action, timestamp)
end

.storeObject



8
9
10
# File 'app/models/hyrax/event.rb', line 8

def self.store
  Hyrax::RedisEventStore
end