@classmethod
def get_object(cls, api_token, domain_name, mocked):
    """
            Class method that will return a Domain object by ID.
        """
    domain = cls(token=api_token, name=domain_name, mocked=mocked)
    domain.mock_data = 'domains/single.json'
    domain.load()
    return domain
