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

contract_content_changed?() click to toggle source
# File lib/pact_broker/webhooks/webhook_event.rb, line 27
def contract_content_changed?
  name == CONTRACT_CONTENT_CHANGED
end
contract_published?() click to toggle source
# File lib/pact_broker/webhooks/webhook_event.rb, line 23
def contract_published?
  name == CONTRACT_PUBLISHED
end
contract_requiring_verification_published?() click to toggle source
# File lib/pact_broker/webhooks/webhook_event.rb, line 43
def contract_requiring_verification_published?
  name == CONTRACT_REQUIRING_VERIFICATION_PUBLISHED
end
provider_verification_failed?() click to toggle source
# File lib/pact_broker/webhooks/webhook_event.rb, line 39
def provider_verification_failed?
  name == VERIFICATION_FAILED
end
provider_verification_published?() click to toggle source
# File lib/pact_broker/webhooks/webhook_event.rb, line 31
def provider_verification_published?
  name == VERIFICATION_PUBLISHED
end
provider_verification_succeeded?() click to toggle source
# File lib/pact_broker/webhooks/webhook_event.rb, line 35
def provider_verification_succeeded?
  name == VERIFICATION_SUCCEEDED
end