# File lib/qbxml/response.rb, line 30
    def initialize(xml_or_hash)
      if(xml_or_hash.is_a?(Hash))
        self.append_from_hash(xml_or_hash)
      elsif(xml_or_hash.is_a?(String))
        self.append_from_xml(xml_or_hash)
      else
        raise ArgumentError, "Qbxml::ResponseSet must be initialized with either a Hash or an xml-formatted String."
      end
    end