Sha256: f37ea182c5cd94160be2089fe250f05c1c774cc8281b10d9b54f477dbb37d678
Contents?: true
Size: 314 Bytes
Versions: 2
Compression:
Stored size: 314 Bytes
Contents
class VolleyWorker extend Resque::Plugins::Logger @queue = :default class << self def perform(options={ }) vu = Jobs::Volley::Update.create! vu.enqueue vm = Jobs::Volley::Meta.create! vm.enqueue rescue => e logger.error e.message logger.error e end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
mystro-volley-0.1.0.rc2 | app/workers/volley_worker.rb |
mystro-volley-0.1.0.rc1 | app/workers/volley_worker.rb |