class Faraday::Connection

def path_prefix=(value)

Returns the new String path prefix.

value - A String.

slash.
Public: Sets the path prefix and ensures that it always has a leading
def path_prefix=(value)
  url_prefix.path = if value
    value = '/' + value unless value[0,1] == '/'
    value
  end
end