Sha256: f974764b9d9befb82a572311547f5520b8497ca6dddc369586987bd5469e0bbc
Contents?: true
Size: 317 Bytes
Versions: 14
Compression:
Stored size: 317 Bytes
Contents
# frozen_string_literal: true module JunkDrawer class Notifier # Notifier strategy to raise an error when notification is triggered class RaiseStrategy include Callable def call(message, **context) raise NotifierError, "#{message}, context: #{context}" end end end end
Version data entries
14 entries across 14 versions & 1 rubygems