Class: Rack::MockSession

Inherits:
Object
  • Object
show all
Defined in:
lib/rasti/web/api_doc.rb

Instance Method Summary collapse

Instance Method Details

#__request__Object



32
# File 'lib/rasti/web/api_doc.rb', line 32

alias_method :__request__, :request

#request(uri, env) ⇒ Object



34
35
36
37
38
# File 'lib/rasti/web/api_doc.rb', line 34

def request(uri, env)
  response = __request__ uri, env
  Rasti::Web::ApiDoc.tracker.track env, response
  response
end