Sha256: 86ed0abeb297192005aaaedff3e4a145f2b26f0fed47837b9475d0069ca81fbb
Contents?: true
Size: 701 Bytes
Versions: 15
Compression:
Stored size: 701 Bytes
Contents
require 'sequel' require 'pact_broker/repositories/helpers' module PactBroker module Webhooks class WebhookEvent < Sequel::Model CONTRACT_CONTENT_CHANGED = 'contract_content_changed' VERIFICATION_PUBLISHED = 'provider_verification_published' DEFAULT_EVENT_NAME = CONTRACT_CONTENT_CHANGED #CONTRACT_VERIFIABLE_CONTENT_CHANGED = 'contract_verifiable_content_changed' #VERIFICATION_STATUS_CHANGED = 'verification_status_changed' EVENT_NAMES = [CONTRACT_CONTENT_CHANGED, VERIFICATION_PUBLISHED] dataset_module do include PactBroker::Repositories::Helpers end end WebhookEvent.plugin :timestamps, update_on_create: true end end
Version data entries
15 entries across 15 versions & 1 rubygems