Class: Caterer::Action::Server::Unlock

Inherits:
Base
  • Object
show all
Defined in:
lib/caterer/action/server/unlock.rb

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from Caterer::Action::Base

Instance Method Details

#call(env) ⇒ Object



6
7
8
9
# File 'lib/caterer/action/server/unlock.rb', line 6

def call(env)
  env[:server].unlock!
  @app.call(env)
end