lib/truelayer/configuration.rb in truelayer-0.1.2 vs lib/truelayer/configuration.rb in truelayer-0.1.3
- old
+ new
@@ -20,12 +20,12 @@
@client_secret = ''
@environment = :sandbox # can be either :sandbox or :production
@debug = false
@verbose = false
- return if Faraday::Request.fetch_middleware(:truelayer_auth)
+ #return if Faraday::Request.fetch_middleware(:truelayer_auth)
- Faraday::Request.register_middleware truelayer_auth: -> { Truelayer::FaradayAuth }
+ #Faraday::Request.register_middleware truelayer_auth: -> { Truelayer::FaradayAuth }
end
def base_url
BASE_URLS[environment.to_sym]
end