Created
November 14, 2014 17:50
-
-
Save aalness/1f615e870ae7ef33506b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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