examples/query.rb in kooaba-0.0.1 vs examples/query.rb in kooaba-0.0.2
- old
+ new
@@ -1,11 +1,11 @@
require File.join(File.dirname(__FILE__), "..", "lib", "kooaba.rb")
# set the query key
-Kooaba.query_key = <QUERY_KEY>
+Kooaba.query_key = <query-key-secret-token>
# send the query to the kooaba servers
-query = Kooaba::Query.new(:image_path => <PATH_TO_IMAGE>)
+query = Kooaba::Query.new(:image_path => <path-to-image>)
response = Kooaba.query(query)
# inspect the result
puts "Response code: #{response.code}"
puts "Response body: #{response.body}"