pupilfirst/pupilfirst

View on GitHub
app/services/developers/event_publisher.rb

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
module Developers
  class EventPublisher
    def execute(event_type, actor, resource)
      ActiveSupport::Notifications.instrument("#{event_type}.pupilfirst", resource_id: resource.id, actor_id: actor.id)
    end
  end
end