Class: GovDelivery::TMS::Webhook
- Inherits:
-
Object
- Object
- GovDelivery::TMS::Webhook
- Includes:
- InstanceResource
- Defined in:
- lib/govdelivery/tms/resource/webhook.rb
Overview
A Webhook gets invoked when a recipient enters a queued or final state
Instance Attribute Summary collapse
-
#created_at ⇒ Object
readonly
Returns the value of attribute created_at.
-
#event_type ⇒ Object
Returns the value of attribute event_type.
-
#event_type,,,,,or ⇒ 'sending''inconclusive''blacklisted''sent''canceled''failed'
vent_type ‘sending’, ‘inconclusive’, ‘blacklisted’, ‘sent’, ‘canceled’, or ‘failed’.
-
#updated_at ⇒ Object
readonly
Returns the value of attribute updated_at.
-
#url ⇒ String
The URL to POST webhooks to.
Attributes included from InstanceResource
Method Summary
Methods included from InstanceResource
Instance Attribute Details
#created_at ⇒ Object (readonly)
Returns the value of attribute created_at.
1 2 3 |
# File 'lib/govdelivery/tms/resource/webhook.rb', line 1 def created_at @created_at end |
#event_type ⇒ Object
Returns the value of attribute event_type.
1 2 3 |
# File 'lib/govdelivery/tms/resource/webhook.rb', line 1 def event_type @event_type end |
#event_type,,,,,or ⇒ 'sending''inconclusive''blacklisted''sent''canceled''failed'
vent_type ‘sending’, ‘inconclusive’, ‘blacklisted’, ‘sent’, ‘canceled’, or ‘failed’
11 12 13 |
# File 'lib/govdelivery/tms/resource/webhook.rb', line 11
def event_type,,,,,or
@event_type,,,,,or
end
|
#updated_at ⇒ Object (readonly)
Returns the value of attribute updated_at.
1 2 3 |
# File 'lib/govdelivery/tms/resource/webhook.rb', line 1 def updated_at @updated_at end |
#url ⇒ String
The URL to POST webhooks to
11 12 13 |
# File 'lib/govdelivery/tms/resource/webhook.rb', line 11 def url @url end |