def save(connection)
      xml = connection.make_xml('TicketCreateRequest')
      xml.add_element(to_xml)

      response = connection.execute(xml, '1.2')
      @id = response.attributes['id'].to_i if response.success
    end
def save(connection)
      xml = connection.make_xml('TicketCreateRequest')
      xml.add_element(to_xml)

      response = connection.execute(xml, '1.2')
      @id = response.attributes['id'].to_i if response.success
    end
Save this ticket to a Nexpose console.

 @param [Connection] connection Connection to console where ticket exists.
 @return [Fixnum] Unique ticket ID assigned to this ticket.