class PactBroker::Webhooks::WebhookEvent
Constants
- CONTRACT_CONTENT_CHANGED
- CONTRACT_PUBLISHED
- CONTRACT_REQUIRING_VERIFICATION_PUBLISHED
- DEFAULT_EVENT_NAME
- EVENT_NAMES
- VERIFICATION_FAILED
- VERIFICATION_PUBLISHED
- VERIFICATION_SUCCEEDED
Public Instance Methods
Source
# File lib/pact_broker/webhooks/webhook_event.rb, line 25 def contract_content_changed? name == CONTRACT_CONTENT_CHANGED end
Source
# File lib/pact_broker/webhooks/webhook_event.rb, line 21 def contract_published? name == CONTRACT_PUBLISHED end
Source
# File lib/pact_broker/webhooks/webhook_event.rb, line 41 def contract_requiring_verification_published? name == CONTRACT_REQUIRING_VERIFICATION_PUBLISHED end
Source
# File lib/pact_broker/webhooks/webhook_event.rb, line 37 def provider_verification_failed? name == VERIFICATION_FAILED end
Source
# File lib/pact_broker/webhooks/webhook_event.rb, line 29 def provider_verification_published? name == VERIFICATION_PUBLISHED end
Source
# File lib/pact_broker/webhooks/webhook_event.rb, line 33 def provider_verification_succeeded? name == VERIFICATION_SUCCEEDED end