Class: Bulletin::Occurrence
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- Bulletin::Occurrence
- Defined in:
- app/models/bulletin/occurrence.rb
Overview
A single recorded instance of an issue — the evidence (where/when/stack). Capped per issue by Store::ActiveRecord so a hammered endpoint can’t flood the table.
Instance Method Summary collapse
Instance Method Details
#endpoint ⇒ Object
17 18 19 |
# File 'app/models/bulletin/occurrence.rb', line 17 def endpoint [controller, action].compact.join("#") end |