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