Module: PiiSafeSchema::Notify
- Included in:
- PiiSafeSchema
- Defined in:
- lib/pii_safe_schema/notify.rb,
lib/pii_safe_schema/notifiers/std_out.rb,
lib/pii_safe_schema/notifiers/data_dog.rb
Defined Under Namespace
Constant Summary collapse
- METHODS =
%i[StdOut DataDog].freeze
Class Method Summary collapse
Class Method Details
.notify(column_or_columns) ⇒ Object
4 5 6 7 |
# File 'lib/pii_safe_schema/notify.rb', line 4 def self.notify(column_or_columns) column_or_columns.each { |c| deliver(c) } if column_or_columns.is_a?(Array) deliver(c) if column_or_columns.is_a?(PiiSafeSchema::PiiColumn) end |