updated the module classyfire_api

This commit is contained in:
Yannick 2014-07-13 23:10:37 -06:00
parent e4d467db5c
commit 68c662759a
1 changed files with 0 additions and 2 deletions

View File

@ -4,8 +4,6 @@ require 'RestClient'
module ClassyFireAPI
URL = 'http://classyfire.wishartlab.com'
# URL = 'http://localhost:3000'
def ClassyFireAPI.submit_query(label,input)
begin
RestClient.post URL+'/queries', {:label => label, :query_input => input}.to_json, :accept => :json, :content_type => :json