@classmethod
def base_url(cls):
    """
        Get the base url for this resource - raise a ValueError if the
        child class has not set it's url
        """
    if not cls._base_url:
        raise ValueError('Base url has not been set of this resource')
    return cls._base_url
