diff options
author | gebele <gebele@in-silico.ch> | 2012-07-05 15:06:34 +0400 |
---|---|---|
committer | gebele <gebele@in-silico.ch> | 2012-07-05 15:06:34 +0400 |
commit | 6c657ac84268f2cac458eb43ec156a7a38a4f95a (patch) | |
tree | f26206956469453850745fcca6eff2180f901efc /lib/task.rb | |
parent | 5f61cefdefc51a728147478820ffe04c5ec127d5 (diff) |
expand methods :finished_at
Diffstat (limited to 'lib/task.rb')
-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 |