'Returns a public DSN which is consumable by raven-js
>>> # Return scheme-less DSN
>>> print client.get_public_dsn()
>>> # Specify a scheme to use (http or https)
>>> print client.get_public_dsn(\'https\')'

def get_public_dsn(self, scheme=None):

    if (not self.is_enabled()):
        return
    url = self.remote.get_public_dsn()
    if (not scheme):
        return url
    return ('%s:%s' % (scheme, url))
