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 25
def contract_content_changed?
  name == CONTRACT_CONTENT_CHANGED
end
contract_published?() click to toggle source
# File lib/pact_broker/webhooks/webhook_event.rb, line 21
def contract_published?
  name == CONTRACT_PUBLISHED
end
contract_requiring_verification_published?() click to toggle source
# File lib/pact_broker/webhooks/webhook_event.rb, line 41
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 37
def provider_verification_failed?
  name == VERIFICATION_FAILED
end
provider_verification_published?() click to toggle source
# File lib/pact_broker/webhooks/webhook_event.rb, line 29
def provider_verification_published?
  name == VERIFICATION_PUBLISHED
end
provider_verification_succeeded?() click to toggle source
# File lib/pact_broker/webhooks/webhook_event.rb, line 33
def provider_verification_succeeded?
  name == VERIFICATION_SUCCEEDED
end