mirror of
https://github.com/internetee/registry.git
synced 2025-07-22 18:56:05 +02:00
Add basic storage for validation events
This commit is contained in:
parent
6675dac63d
commit
d4fe961e34
5 changed files with 123 additions and 0 deletions
10
app/models/validation_event/event_type.rb
Normal file
10
app/models/validation_event/event_type.rb
Normal file
|
@ -0,0 +1,10 @@
|
|||
class ValidationEvent
|
||||
class EventType
|
||||
TYPES = { email_validation: 'email_validation',
|
||||
manual_force_delete: 'manual_force_delete' }.freeze
|
||||
|
||||
def initialize(event_type)
|
||||
@event_type = event_type
|
||||
end
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue