Class: Raven::Processor::PostData

Inherits:
Raven::Processor show all
Defined in:
lib/raven/processor/post_data.rb

Instance Method Summary collapse

Methods inherited from Raven::Processor

#initialize

Constructor Details

This class inherits a constructor from Raven::Processor

Instance Method Details

#process(data) ⇒ Object



3
4
5
6
7
8
9
# File 'lib/raven/processor/post_data.rb', line 3

def process(data)
  if data[:request] && data[:request][:method] == "POST"
    data[:request][:data] = nil # Remove possibly sensitive POST data
  end

  data
end