Module: Gitlab::Loggable
- Included in:
- ApplicationWorker, WebHooks::AutoDisabling
- Defined in:
- lib/gitlab/loggable.rb
Constant Summary collapse
- ANONYMOUS =
'<Anonymous>'
Instance Method Summary collapse
Instance Method Details
#build_structured_payload(**params) ⇒ Object
7 8 9 |
# File 'lib/gitlab/loggable.rb', line 7 def build_structured_payload(**params) { class: self.class.name || ANONYMOUS }.merge(params).stringify_keys end |