Class: Hooks::DummyHook

Inherits:
Object
  • Object
show all
Defined in:
lib/hooks/dummy_hook.rb

Instance Method Summary collapse

Constructor Details

#initialize(app, options) ⇒ DummyHook

Returns a new instance of DummyHook


3
4
5
6
# File 'lib/hooks/dummy_hook.rb', line 3

def initialize(app, options)
  @app = app
  @options = options
end

Instance Method Details

#call(env) ⇒ Object


8
9
10
# File 'lib/hooks/dummy_hook.rb', line 8

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