app/models/ticket.rb
# Was the ticket processed successfully? True if yes, false if failed, nil if not finished.
Was the ticket processed successfully. True if yes, false if failed, nil if not finished.
Was the ticket processed successfully . True if yes false if failed nil if not finished .
def success?
    return self.done? ?
      self.status.to_sym == :sent_email :
      nil
  end
def success? return self . done? ? self . status . to_sym == :sent_email : nil end
Was the ticket processed successfully?
Was the ticket processed successfully?