Module: Artery::MessageModel::ClassMethods
- Defined in:
- app/models/concerns/artery/message_model.rb
Constant Summary collapse
- MAX_MESSAGE_AGE =
ENV.fetch('ARTERY_MAX_MESSAGE_AGE', '90').to_i.days
Instance Method Summary collapse
Instance Method Details
#after_index(model, index) ⇒ Object
13 14 15 |
# File 'app/models/concerns/artery/message_model.rb', line 13 def after_index(model, index) raise NotImplementedError end |
#delete_old ⇒ Object
21 22 23 |
# File 'app/models/concerns/artery/message_model.rb', line 21 def delete_old raise NotImplementedError end |
#latest_index(model) ⇒ Object
17 18 19 |
# File 'app/models/concerns/artery/message_model.rb', line 17 def latest_index(model) raise NotImplementedError end |