summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/task.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/task.rb b/lib/task.rb
index d45b0d2..2ca481d 100644
--- a/lib/task.rb
+++ b/lib/task.rb
@@ -107,7 +107,7 @@ module OpenTox
code >= 400 and code != 503
end
- [:hasStatus, :resultURI].each do |method|
+ [:hasStatus, :resultURI, :finished_at].each do |method|
define_method method do
response = self.[](RDF::OT[method])
response = self.[](RDF::OT1[method]) unless response # API 1.1 compatibility