module WolfCore::Integrations::WebhooksOperations
def process_webhook(params:)
def process_webhook(params:) event_type = get_event_type(params: params) if event_type == 'SubscriptionConfirmation' url = params['SubscribeURL'] subscription_confirmation_request(url: url) elsif event_type == 'Notification' event_name = get_event_name(params: params) yield(event_name) end end