Class: Vero::ResqueWorker
Class Method Summary collapse
Class Method Details
.perform(api_class, domain, options) ⇒ Object
10 11 12 13 14 15 16 17 |
# File 'lib/vero/senders/resque.rb', line 10 def self.perform(api_class, domain, ) = .each_with_object({}) do |(k, v), o| o[k.to_sym] = v end api_class.constantize.new(domain, ).perform Vero::App.log(self, "method: #{api_class}, options: #{.to_json}, response: resque job queued") end |