lib/emittance/notifier.rb in emittance-0.1.1 vs lib/emittance/notifier.rb in emittance-0.1.2
- old
+ new
@@ -41,10 +41,10 @@
def _emittance_handle_event(event)
identifiers = event.identifiers
identifiers.each do |identifier|
formatted_identifier = _emittance_format_identifier(identifier)
- send(formatted_identifier) if respond_to?(formatted_identifier)
+ send(formatted_identifier, event) if respond_to?(formatted_identifier)
end
end
def _emittance_format_identifier(identifier)
identifier.to_s.split('/').last