Sha256: 685600df7f948e8f879bf439630e6ce5df59d53d18ebd3c7cb2f7187a9c454e7
Contents?: true
Size: 471 Bytes
Versions: 142
Compression:
Stored size: 471 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"] env['CONTENT_TYPE'] = 'application/json' if env['HTTP_X_AMZ_SNS_MESSAGE_TYPE'].present? @app.call(env) end end end
Version data entries
142 entries across 142 versions & 1 rubygems