Class: EncodingSafeProcessJob

Inherits:
Object
  • Object
show all
Defined in:
lib/encoding_safe_process_job.rb

Class Method Summary collapse

Class Method Details

.perform(content) ⇒ Object



5
6
7
8
9
# File 'lib/encoding_safe_process_job.rb', line 5

def self.perform(content)
  clazz = const_get(content["processing_queue"])
  content["body"] = Base64.decode64(content["body"])
  clazz.perform(content)
end