Module: Infield::DeprecationWarning
- Defined in:
- lib/infield/deprecation_warning.rb
Overview
Takes in new deprecation warnings and sends them to the Infield API in batches
Defined Under Namespace
Class Method Summary collapse
Class Method Details
.log(*messages, callstack: nil, validated: false) ⇒ Object
80 81 82 83 84 |
# File 'lib/infield/deprecation_warning.rb', line 80 def log(*, callstack: nil, validated: false) = .select(&method(:valid_message)) unless validated .each { || Runner.enqueue(Task.new(, callstack)) } true end |