Class: Radar::Integration::Rack
- Inherits:
-
Object
- Object
- Radar::Integration::Rack
- Defined in:
- lib/radar/integration/rack.rb
Overview
Allows drop-in integration with Rack for Radar. This class should not ever actually be used with Application#integrate. Instead, use the middleware provided by Rack::Radar, passing in your application like so:
use Rack::Radar, :application => radar_app
Class Method Summary collapse
Class Method Details
.integrate!(app) ⇒ Object
11 12 13 |
# File 'lib/radar/integration/rack.rb', line 11 def self.integrate!(app) raise "To enable Rack integration, please do: `use Rack::Radar, :application => app` instead." end |