summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/model.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/model.rb b/lib/model.rb
index ec4d069..4b36aad 100644
--- a/lib/model.rb
+++ b/lib/model.rb
@@ -48,11 +48,11 @@ module OpenTox
end
def classification
- YAML.load(RestClient.get @uri)[:classification]
+ YAML.load(RestClient.get(@uri))[:classification]
end
def confidence
- YAML.load(RestClient.get @uri)[:confidence]
+ YAML.load(RestClient.get(@uri))[:confidence]
end
def neighbors