class Faraday::Connection

def path_prefix=(value)

Returns:
  • (String) - the new path prefix

Parameters:
  • value (String) --
def path_prefix=(value)
  url_prefix.path = if value
                      value = "/#{value}" unless value[0, 1] == '/'
                      value
                    end
end