# File lib/scout/server.rb, line 194 def send_report(data, plugin_id) url = urlify(:report, :plugin_id => plugin_id) report_hash = {:data => data, :plugin_id => plugin_id} # add in any special fields if time = ( data.delete(:scout_time) || data.delete("scout_time") ) report_hash[:time] = time end debug "Sending report to #{url} (#{data.inspect})..." post url, "Unable to send report to server.", :report => report_hash info "Report sent." end