Sha256: c041e96807743fe3d08372ff04211fdfcf00ed71bb15d66597c5ae11c903ea71

Contents?: true

Size: 310 Bytes

Versions: 51

Compression:

Stored size: 310 Bytes

Contents

# Process Job to resolve encoding issue
class EncodingSafeProcessJob

  @queue = :encoding_safe_process_job

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



Version data entries

51 entries across 51 versions & 1 rubygems

Version Path
cobweb-1.2.1 lib/encoding_safe_process_job.rb
cobweb-1.2.0 lib/encoding_safe_process_job.rb
cobweb-1.1.0 lib/encoding_safe_process_job.rb
cobweb-1.0.29 lib/encoding_safe_process_job.rb
cobweb-1.0.28 lib/encoding_safe_process_job.rb
cobweb-1.0.27 lib/encoding_safe_process_job.rb
cobweb-1.0.26 lib/encoding_safe_process_job.rb
cobweb-1.0.25 lib/encoding_safe_process_job.rb
cobweb-1.0.24 lib/encoding_safe_process_job.rb
cobweb-1.0.23 lib/encoding_safe_process_job.rb
cobweb-1.0.22 lib/encoding_safe_process_job.rb
cobweb-1.0.21 lib/encoding_safe_process_job.rb
cobweb-1.0.20 lib/encoding_safe_process_job.rb
cobweb-1.0.19 lib/encoding_safe_process_job.rb
cobweb-1.0.18 lib/encoding_safe_process_job.rb
cobweb-1.0.17 lib/encoding_safe_process_job.rb
cobweb-1.0.16 lib/encoding_safe_process_job.rb
cobweb-1.0.15 lib/encoding_safe_process_job.rb
cobweb-1.0.12 lib/encoding_safe_process_job.rb
cobweb-1.0.11 lib/encoding_safe_process_job.rb