def verify(response)
      raise BadResponseException, "No response at all" if !response || response.nil?
      raise BadResponseException, "Got response with no body" if !response.body
      raise BadResponseException, "Didn't find an rsp element, response body was #{response.body}" if !response["rsp"]
      raise BadResponseException, "Didn't find a stat in the <rsp> element, response body was #{response.body}" if !response["rsp"]["stat"]
      if response['rsp']['stat'] != 'ok'
        err = response['rsp']['err']
        if err
          code = err['code']
          msg = err['msg']
          raise VerificationException, "ERROR: Code: #{code}, Message: #{msg}"
        else
          raise VerificationException, "Didn't find an <err> tag in the response for stat #{response['rsp']['stat']}, response body was #{response.body}" 
        end
      end
    end
def verify(response)
      raise BadResponseException, "No response at all" if !response || response.nil?
      raise BadResponseException, "Got response with no body" if !response.body
      raise BadResponseException, "Didn't find an rsp element, response body was #{response.body}" if !response["rsp"]
      raise BadResponseException, "Didn't find a stat in the <rsp> element, response body was #{response.body}" if !response["rsp"]["stat"]
      if response['rsp']['stat'] != 'ok'
        err = response['rsp']['err']
        if err
          code = err['code']
          msg = err['msg']
          raise VerificationException, "ERROR: Code: #{code}, Message: #{msg}"
        else
          raise VerificationException, "Didn't find an <err> tag in the response for stat #{response['rsp']['stat']}, response body was #{response.body}" 
        end
      end
    end
quick and dirty way to check the response we got back from RTM.
 Call this after every call to RTM.  This will verify that you got <rsp> with a "stat='ok'"
 and, if not, make a best effort at raising the error message from RTM.

 [response] the response from HTTParty from RTM