From 6c657ac84268f2cac458eb43ec156a7a38a4f95a Mon Sep 17 00:00:00 2001 From: gebele Date: Thu, 5 Jul 2012 15:06:34 +0400 Subject: expand methods :finished_at --- lib/task.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/task.rb') 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 -- cgit v1.2.3