<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def purgeObject(self, pid, logMessage=None):
 """Purge an object from Fedora. Returned response shoudl have a status of 200 on success; response content is a timestamp. Wrapper function for `REST API purgeObject <http://fedora-commons.org/confluence/display/FCR30/REST+API#RESTAPI-purgeObject>`_ :param pid: pid of the object to be purged :param logMessage: optional log message :rtype: :class:`requests.models.Response` """

        http_args = {}
        if logMessage:
            http_args['logMessage'] = logMessage

        url = 'objects/%(pid)s' % {'pid': pid}
        return self.delete(url, params=http_args)