Module: PaperTrail::Background::Sidekiq
- Defined in:
- lib/paper_trail/background/sidekiq.rb
Instance Method Summary collapse
Instance Method Details
#perform(version_class, attributes, event) ⇒ Object
4 5 6 |
# File 'lib/paper_trail/background/sidekiq.rb', line 4 def perform(version_class, attributes, event) version = version_class.constantize.create!(attributes) end |