module Oboe::Rails::Helpers
Public Instance Methods
oboe_rum_header()
click to toggle source
# File lib/oboe/frameworks/rails.rb, line 13 def oboe_rum_header begin return unless Oboe::Config.rum_id if Oboe.tracing? if request.xhr? return raw(ERB.new(@@rum_xhr_tmpl).result) else return raw(ERB.new(@@rum_hdr_tmpl).result) end end rescue StandardError => e Oboe.logger.warn "oboe_rum_header: #{e.message}." return "" end end