lib/truelayer/configuration.rb in truelayer-0.1.0 vs lib/truelayer/configuration.rb in truelayer-0.1.1

- old
+ new

@@ -21,9 +21,10 @@ @environment = :sandbox # can be either :sandbox or :production @debug = false @verbose = false return if Faraday::Request.fetch_middleware(:truelayer_auth) + Faraday::Request.register_middleware truelayer_auth: -> { Truelayer::FaradayAuth } end def base_url BASE_URLS[environment.to_sym]