Class: Skylight::Core::Normalizers::ActionController::SendFile Private

Inherits:
Normalizer
  • Object
show all
Defined in:
lib/skylight/core/normalizers/action_controller/send_file.rb

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Constant Summary collapse

CAT =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

"app.controller.send_file".freeze
TITLE =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

"send file".freeze

Instance Attribute Summary

Attributes inherited from Normalizer

#config

Instance Method Summary collapse

Methods inherited from Normalizer

#normalize_after, register

Instance Method Details

#normalize(_trace, _name, _payload) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



22
23
24
25
26
27
28
29
30
31
# File 'lib/skylight/core/normalizers/action_controller/send_file.rb', line 22

def normalize(_trace, _name, _payload)
  title = TITLE

  # depending on normalization, we probably want this to eventually
  # include the full path, but we need to make sure we have a good
  # deduping strategy first.
  desc = nil

  [CAT, title, desc]
end