Module: Wprof::Reporters::ExternalReport
- Included in:
- WprofReporter
- Defined in:
- lib/wprof/reporters/external_report.rb
Instance Method Summary collapse
Instance Method Details
#generate_external_report ⇒ Object
4 5 6 7 8 9 10 |
# File 'lib/wprof/reporters/external_report.rb', line 4 def generate_external_report = { body: @data } headers = WProf::Config.get_value(:external_headers) .merge!(headers) unless headers.nil? HTTParty.post(WProf::Config.get_value(:external_url), ) end |