diff options
-rw-r--r-- | lib/task.rb | 2 |
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 |