Sha256: 3dd7a0f02fc4d19e0d7e17bd01792888ead8ea0407db92e398026868cb26d4c6

Contents?: true

Size: 232 Bytes

Versions: 3

Compression:

Stored size: 232 Bytes

Contents

module Cloudist
  module CallbackMethods
    def data
      payload.body
    end
    
    def headers
      payload.headers
    end
    
    def job_id
      headers[:message_id]
    end
    
    def runtime
      
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
cloudist-0.2.1 lib/cloudist/callback_methods.rb
cloudist-0.2.0 lib/cloudist/callback_methods.rb
cloudist-0.1.2 lib/cloudist/callback_methods.rb