Sha256: 573c5816dc78406a87e1e7aa6ca587a32373adc18a70752fdf9ad39460473f41
Contents?: true
Size: 588 Bytes
Versions: 14
Compression:
Stored size: 588 Bytes
Contents
# frozen_string_literal: true require 'faraday' unless defined? Faraday module FinApps module Middleware autoload :AcceptJson, 'finapps/middleware/request/accept_json' autoload :UserAgent, 'finapps/middleware/request/user_agent' autoload :TenantAuthentication, 'finapps/middleware/request/tenant_authentication' if Faraday::Middleware.respond_to? :register_middleware Faraday::Request.register_middleware \ accept_json: -> { AcceptJson }, user_agent: -> { UserAgent }, tenant_authentication: -> { TenantAuthentication } end end end
Version data entries
14 entries across 14 versions & 1 rubygems