Sha256: 98ab8e5f6b2884a9f00b03c0b40d724db9f4de2faa3dd41d779b91db545f3ed5

Contents?: true

Size: 377 Bytes

Versions: 49

Compression:

Stored size: 377 Bytes

Contents

module ZuoraConnect
  class RequestIdMiddleware
    mattr_accessor :request_id
    mattr_accessor :zuora_request_id
    mattr_accessor :zuora_rest_domain
    def initialize(app)
      @app = app
    end

    def call(env)
      self.request_id = env['action_dispatch.request_id']
      self.zuora_request_id = env["HTTP_ZUORA_REQUEST_ID"]
      @app.call(env)
    end
  end
end

Version data entries

49 entries across 49 versions & 1 rubygems

Version Path
zuora_connect-2.0.55 lib/middleware/request_id_middleware.rb
zuora_connect-2.0.54 lib/middleware/request_id_middleware.rb
zuora_connect-2.0.53 lib/middleware/request_id_middleware.rb
zuora_connect-2.0.52 lib/middleware/request_id_middleware.rb
zuora_connect-2.0.51 lib/middleware/request_id_middleware.rb
zuora_connect-2.0.50 lib/middleware/request_id_middleware.rb
zuora_connect-2.0.49 lib/middleware/request_id_middleware.rb
zuora_connect-2.0.48 lib/middleware/request_id_middleware.rb
zuora_connect-2.0.47 lib/middleware/request_id_middleware.rb
zuora_connect-2.0.46a lib/middleware/request_id_middleware.rb
zuora_connect-2.0.46 lib/middleware/request_id_middleware.rb
zuora_connect-2.0.45 lib/middleware/request_id_middleware.rb
zuora_connect-2.0.44 lib/middleware/request_id_middleware.rb
zuora_connect-2.0.43 lib/middleware/request_id_middleware.rb
zuora_connect-2.0.42 lib/middleware/request_id_middleware.rb
zuora_connect-2.0.41 lib/middleware/request_id_middleware.rb
zuora_connect-2.0.40 lib/middleware/request_id_middleware.rb
zuora_connect-2.0.39 lib/middleware/request_id_middleware.rb
zuora_connect-2.0.38 lib/middleware/request_id_middleware.rb
zuora_connect-2.0.36 lib/middleware/request_id_middleware.rb