Class: CloudFront::HashedRequestInterpreter

Inherits:
Object
  • Object
show all
Defined in:
lib/cloud_front/hashed_request_interpreter.rb

Instance Method Summary collapse

Constructor Details

#initialize(app) ⇒ HashedRequestInterpreter

Returns a new instance of HashedRequestInterpreter.



3
4
5
# File 'lib/cloud_front/hashed_request_interpreter.rb', line 3

def initialize(app)
  @app = app
end

Instance Method Details

#call(env) ⇒ Object



7
8
9
10
# File 'lib/cloud_front/hashed_request_interpreter.rb', line 7

def call(env)
  setup_path_info!(env)
  @app.call(env)
end