Class: Noticed::DeliveryMethods::Webhook
- Inherits:
-
Noticed::DeliveryMethod
- Object
- Noticed::DeliveryMethod
- Noticed::DeliveryMethods::Webhook
- Defined in:
- lib/noticed/delivery_methods/webhook.rb
Instance Attribute Summary
Attributes inherited from Noticed::DeliveryMethod
#config, #event, #notification
Instance Method Summary collapse
Methods inherited from Noticed::DeliveryMethod
#evaluate_option, #fetch_constant, #perform
Methods included from ApiClient
Instance Method Details
#deliver ⇒ Object
6 7 8 9 10 11 12 13 14 |
# File 'lib/noticed/delivery_methods/webhook.rb', line 6 def deliver post_request( evaluate_option(:url), basic_auth: evaluate_option(:basic_auth), headers: evaluate_option(:headers), json: evaluate_option(:json), form: evaluate_option(:form) ) end |