examples/api_proxy.rb in goliath-1.0.3 vs examples/api_proxy.rb in goliath-1.0.4
- old
+ new
@@ -1,8 +1,10 @@
#!/usr/bin/env ruby
# Rewrites and proxies requests to a third-party API, with HTTP basic authentication.
+$:<< '../lib' << 'lib'
+
require 'goliath'
require 'em-synchrony/em-http'
class Twilio < Goliath::API
use Goliath::Rack::Params