Sha256: 2de5aa23f5c0d861ee88491994e6a7acf9cded1313ac5789a39640acda904df9
Contents?: true
Size: 908 Bytes
Versions: 13
Compression:
Stored size: 908 Bytes
Contents
# frozen_string_literal: true require 'faraday' unless defined? Faraday module FinAppsCore module Middleware autoload :AcceptJson, 'finapps_core/middleware/request/accept_json' autoload :UserAgent, 'finapps_core/middleware/request/user_agent' autoload :NoEncodingBasicAuthentication, 'finapps_core/middleware/request/no_encoding_basic_authentication' autoload :TenantAuthentication, 'finapps_core/middleware/request/tenant_authentication' autoload :RequestId, 'finapps_core/middleware/request/request_id' if Faraday::Middleware.respond_to? :register_middleware Faraday::Request.register_middleware \ accept_json: -> { AcceptJson }, user_agent: -> { UserAgent }, no_encoding_basic_authentication: -> { NoEncodingBasicAuthentication }, tenant_authentication: -> { TenantAuthentication }, request_id: -> { RequestId } end end end
Version data entries
13 entries across 13 versions & 1 rubygems