Class: Tantot::Extensions::GrapeMiddleware

Inherits:
Grape::Middleware::Base
  • Object
show all
Defined in:
lib/tantot/extensions/grape/middleware.rb

Instance Method Summary collapse

Instance Method Details

#call!(env) ⇒ Object



7
8
9
10
11
# File 'lib/tantot/extensions/grape/middleware.rb', line 7

def call!(env)
  Tantot.manager.run do
    @app_response = super(env)
  end
end