Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- module DecoratedEventHelper
- def decorate_event(event, promoter)
- if rollout.active?(:new_broadcast_flow, promoter)
- BroadcastFlow::V2Decorator
- else
- BroadcastFlow::V1Decorator
- end.decorate(event)
- end
- end
Add Comment
Please, Sign In to add comment