Sha256: d884bb50ef4d604864af37d96ebb97ca166d80df1a7c6d95c05a128dde6f5de1
Contents?: true
Size: 378 Bytes
Versions: 22
Compression:
Stored size: 378 Bytes
Contents
# frozen_string_literal: true module FlowcommerceSpree class LoggingHttpHandler < ::Io::Flow::V0::HttpClient::DefaultHttpHandler attr_reader :http_client, :logger def initialize(logger: FlowcommerceSpree.logger) @logger = logger end def instance(base_uri, _path) @http_client = LoggingHttpClient.new(base_uri, logger: @logger) end end end
Version data entries
22 entries across 22 versions & 1 rubygems