Module: PactBroker::Api::Resources::WebhookExecutionMethods

Included in:
Pact, Verifications, WebhookExecution
Defined in:
lib/pact_broker/api/resources/webhook_execution_methods.rb

Instance Method Summary collapse

Instance Method Details

#webhook_execution_configurationObject



5
6
7
8
9
# File 'lib/pact_broker/api/resources/webhook_execution_methods.rb', line 5

def webhook_execution_configuration
  PactBroker::Webhooks::ExecutionConfiguration.new
    .with_show_response(PactBroker.configuration.show_webhook_response?)
    .with_webhook_context(base_url: base_url)
end