def from_post_response(post_response, content):
        '''
        Convenience method for creating a new OutcomeResponse from a response
        object.
        '''
        response = OutcomeResponse()
        response.post_response = post_response
        response.response_code = post_response.status
        response.process_xml(content)
        return response
def from_post_response ( post_response , content ) : response = OutcomeResponse ( ) response . post_response = post_response response . response_code = post_response . status response . process_xml ( content ) return response
Convenience method for creating a new OutcomeResponse from a response
        object.