Class: PactBroker::Webhooks::ExecutionConfigurationCreator
- Inherits:
-
Object
- Object
- PactBroker::Webhooks::ExecutionConfigurationCreator
- Defined in:
- lib/pact_broker/webhooks/execution_configuration_creator.rb
Class Method Summary collapse
Class Method Details
.call(resource) ⇒ Object
7 8 9 10 11 |
# File 'lib/pact_broker/webhooks/execution_configuration_creator.rb', line 7 def self.call(resource) PactBroker::Webhooks::ExecutionConfiguration.new .with_show_response(PactBroker.configuration.show_webhook_response?) .with_webhook_context(base_url: resource.base_url) end |