Sha256: 5514af61072dac875885c06f4949b225755ecb1a75e35e1be559915ee572530d
Contents?: true
Size: 309 Bytes
Versions: 24
Compression:
Stored size: 309 Bytes
Contents
# frozen_string_literal: true module SolidusNexio class Webhook < ApplicationRecord def self.process(event_type, data) record = create(data: data) if SolidusNexio.config.save_webhooks SolidusNexio.config.webhooks.each { |service| service.call(event_type, data, record) } end end end
Version data entries
24 entries across 24 versions & 1 rubygems