Class: PactBroker::Webhooks::WebhookHeader
- Inherits:
-
Sequel::Model
- Object
- Sequel::Model
- PactBroker::Webhooks::WebhookHeader
- Defined in:
- lib/pact_broker/webhooks/webhook.rb
Class Method Summary collapse
Class Method Details
.from_domain(name, value, webhook_id) ⇒ Object
98 99 100 101 102 103 104 |
# File 'lib/pact_broker/webhooks/webhook.rb', line 98 def self.from_domain name, value, webhook_id db_header = new db_header.name = name db_header.value = value db_header.webhook_id = webhook_id db_header end |