Skip to content

Instantly share code, notes, and snippets.

@aalness
Created November 14, 2014 17:50
Show Gist options
  • Save aalness/1f615e870ae7ef33506b to your computer and use it in GitHub Desktop.
Save aalness/1f615e870ae7ef33506b to your computer and use it in GitHub Desktop.
diff --git a/lib/knox/api.rb b/lib/knox/api.rb
index afedb1d..b56f570 100644
--- a/lib/knox/api.rb
+++ b/lib/knox/api.rb
@@ -5,17 +5,25 @@ module Coinbase::Knox
class Base < Jersey::API::Base
InvalidFormatError = Class.new(StandardError)
SignatureError = Class.new(StandardError)
+
+ def initialize(app)
+ @app = app
+ end
+
+ def call(env)
+ @app.call(env)
+ end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment