Class: Waves::Dispatchers::Default

Inherits:
Base show all
Defined in:
lib/waves/dispatchers/default.rb

Instance Method Summary collapse

Methods inherited from Base

#call, #deferred?

Instance Method Details

#safe(request) ⇒ Object

Takes a Waves::Request and returns a Waves::Response



11
12
13
# File 'lib/waves/dispatchers/default.rb', line 11

def safe(request)
  Waves.config.resource.new( request ).process
end