Sha256: 1571c8fa040f0f7a72d28a9048b0c3efaaa52a3d094ae010ba03bba0502a78a8

Contents?: true

Size: 246 Bytes

Versions: 3

Compression:

Stored size: 246 Bytes

Contents

module Scales
  module Worker
    module Job
      class << self
    
        def to_env(job)
          env = JSON.parse(job)
          env['rack.input'] = StringIO.new(env['rack.input'])
          env
        end
    
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
scales-worker-0.0.4 lib/scales-worker/job.rb
scales-worker-0.0.1.beta.2 lib/scales-worker/job.rb
scales-worker-0.0.1.beta.1 lib/scales-worker/job.rb