class InfluxDB::Rails::Rack
Public Class Methods
new(app)
click to toggle source
# File lib/influxdb/rails/rack.rb, line 4 def initialize(app) @app = app end
Public Instance Methods
_call(env)
click to toggle source
# File lib/influxdb/rails/rack.rb, line 12 def _call(env) begin response = @app.call(env) rescue StandardError => e InfluxDB::Rails.transmit_unless_ignorable(e, env) raise(e) end response end
call(env)
click to toggle source
# File lib/influxdb/rails/rack.rb, line 8 def call(env) dup._call(env) end