Sha256: 372dc7778524b692829e9b8d989b553c86b74628faf132bfd2931a0e1a1c9ec4
Contents?: true
Size: 270 Bytes
Versions: 6
Compression:
Stored size: 270 Bytes
Contents
# frozen_string_literal: true module BoletoSimples module Middleware class UserAgent < Faraday::Middleware def call(env) env[:request_headers]['User-Agent'] = BoletoSimples.configuration.user_agent @app.call(env) end end end end
Version data entries
6 entries across 6 versions & 1 rubygems