examples/worker.rb in grenache-ruby-http-0.0.6 vs examples/worker.rb in grenache-ruby-http-0.1.0
- old
+ new
@@ -1,8 +1,7 @@
-require 'thin'
-require 'grenache-ruby-http'
+require_relative '../lib/grenache-ruby-http.rb'
-Grenache::Base.configure do |conf|
+Grenache::Http.configure do |conf|
conf.grape_address = "http://127.0.0.1:40002/"
end
EM.run do