class Rollbar::Middleware::Js::SecureHeadersResolver
Public Instance Methods
Source
# File lib/rollbar/middleware/js.rb, line 241 def append_nonce? csp_needs_nonce?(find_csp) end
Private Instance Methods
Source
# File lib/rollbar/middleware/js.rb, line 251 def csp_needs_nonce?(csp) !opt_out?(csp) end
Source
# File lib/rollbar/middleware/js.rb, line 247 def find_csp raise NotImplementedError end
Source
# File lib/rollbar/middleware/js.rb, line 255 def opt_out?(_csp) raise NotImplementedError end