Class: EncodingSafeProcessJob
- Inherits:
-
Object
- Object
- EncodingSafeProcessJob
- Defined in:
- lib/encoding_safe_process_job.rb
Overview
Process Job to resolve encoding issue
Class Method Summary collapse
-
.perform(content) ⇒ Object
Resque perform method.
Class Method Details
.perform(content) ⇒ Object
Resque perform method
7 8 9 10 11 |
# File 'lib/encoding_safe_process_job.rb', line 7 def self.perform(content) clazz = const_get(content["processing_queue"]) content["body"] = Base64.decode64(content["body"]) clazz.perform(content) end |