def connection
      @connect ||= Faraday.new do |f|
        f.adapter :net_http
        f.headers = connection_headers
        f.url_prefix = "#{default_url_prefix}/api/v#{api_version}/"
        f.response :json, content_type: /\bjson$/
      end
    end
def connection
      @connect ||= Faraday.new do |f|
        f.adapter :net_http
        f.headers = connection_headers
        f.url_prefix = "#{default_url_prefix}/api/v#{api_version}/"
        f.response :json, content_type: /\bjson$/
      end
    end
Creates an Faraday connection instance for requests

 * *Returns* :
   - A Faraday connection object with an instance specific configuration