Class: Changeling::Async::ResqueWorker

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

Class Method Summary collapse

Class Method Details

.perform(json) ⇒ Object



6
7
8
# File 'lib/changeling/async/resque_worker.rb', line 6

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