Class: Dis::Jobs::ChangeType
- Inherits:
-
ActiveJob::Base
- Object
- ActiveJob::Base
- Dis::Jobs::ChangeType
- Defined in:
- lib/dis/jobs/change_type.rb
Overview
Instance Method Summary collapse
Instance Method Details
#perform(prev_type, new_type, key) ⇒ Object
15 16 17 18 |
# File 'lib/dis/jobs/change_type.rb', line 15 def perform(prev_type, new_type, key) Dis::Storage.delayed_store(new_type, key) Dis::Storage.delayed_delete(prev_type, key) end |