Class: PactBroker::Api::Contracts::WebhookContract
- Inherits:
-
BaseContract
- Object
- Dry::Validation::Contract
- BaseContract
- PactBroker::Api::Contracts::WebhookContract
- Defined in:
- lib/pact_broker/api/contracts/webhook_contract.rb
Defined Under Namespace
Classes: EventContract
Constant Summary collapse
- UUID_REGEX =
/^[A-Za-z0-9_\-]{16,}$/
Method Summary
Methods inherited from BaseContract
Methods included from DryValidationErrorsFormatter
#add_error, #add_indexed_error, #format_errors
Methods included from DryValidationMethods
#not_provided?, #provided?, #validate_environment_with_name_exists, #validate_no_spaces_if_present, #validate_not_blank_if_present, #validate_not_multiple_lines, #validate_pacticipant_with_name_exists, #validate_url, #validate_valid_url, #validate_version_number, #validation_message