lib/client_success/open_api/authentication.rb
def auth_connection
        Faraday.new(url: api_url) do |conn|
          conn.headers['Content-Type'] = 'application/x-www-form-urlencoded'
          apply_default_connection_opts_to(conn)
        end
      end
# A custom connection for the auth endpoint, since it
# uses a different content type header.
#
A custom connection for the auth endpoint, since it
uses a different content type header.
A custom connection for the auth endpoint since it uses a different content type header .
def auth_connection
        Faraday.new(url: api_url) do |conn|
          conn.headers['Content-Type'] = 'application/x-www-form-urlencoded'
          apply_default_connection_opts_to(conn)
        end
      end
def auth_connection Faraday . new ( url : api_url ) do | conn | conn . headers [ 'Content-Type' ] = 'application/x-www-form-urlencoded' apply_default_connection_opts_to ( conn ) end end
A custom connection for the auth endpoint, since it
uses a different content type header.
A custom connection for the auth endpoint since it uses a different content type header .