summaryrefslogtreecommitdiff
path: root/lib/opentox.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/opentox.rb')
-rw-r--r--lib/opentox.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/opentox.rb b/lib/opentox.rb
index 187eb08..6ce439d 100644
--- a/lib/opentox.rb
+++ b/lib/opentox.rb
@@ -111,6 +111,7 @@ module OpenTox
end
def create service_uri, subjectid=nil
+ #uri = uri(SecureRandom.uuid)
uri = RestClientWrapper.post(service_uri, {}, {:accept => 'text/uri-list', :subjectid => subjectid})
URI.task?(service_uri) ? from_uri(uri, subjectid, false) : from_uri(uri, subjectid)
end