app/models/dispatched_service.rb in umlaut-4.0.3 vs app/models/dispatched_service.rb in umlaut-4.1.0.pre.alpha.1
- old
+ new
@@ -66,6 +66,10 @@
end
def completed?
return (self.status != InProgress) && (self.status != Queued)
end
+
+ def failed?
+ return (self.status == FailedTemporary) || (self.status == FailedFatal)
+ end
end