Class: Changeling::Async::SidekiqWorker

Inherits:
Object
  • Object
show all
Defined in:
lib/changeling/async/sidekiq_worker.rb

Instance Method Summary collapse

Instance Method Details

#perform(json) ⇒ Object



11
12
13
# File 'lib/changeling/async/sidekiq_worker.rb', line 11

def perform(json)
  Changeling::Models::Logling.create(JSON.parse(json))
end