Sha256: cad37a4d24b8d276a13e034c61feea687c26d1186340308ec8317dd94f6fe653

Contents?: true

Size: 653 Bytes

Versions: 22

Compression:

Stored size: 653 Bytes

Contents

module GovDelivery::TMS #:nodoc:
  #  A Webhook gets invoked when a recipient enters a queued or final state
  #
  # @attr url [String] The URL to POST webhooks to
  # @attr event_type  'sending', 'inconclusive', 'blacklisted', 'sent', 'canceled', or 'failed'
  #
  # @example
  #    webhook = client.webhooks.build(:url => 'http://your.url', :event_type => 'failed')
  #    webhook.post
  #    webhook.get
  class Webhook
    include InstanceResource

    # @!parse attr_accessor :url, :event_type
    writeable_attributes :url, :event_type

    # @!parse attr_reader :created_at, :updated_at
    readonly_attributes :created_at, :updated_at
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
govdelivery-tms-3.0.0 lib/govdelivery/tms/resource/webhook.rb
govdelivery-tms-2.8.4 lib/govdelivery/tms/resource/webhook.rb
govdelivery-tms-2.8.3 lib/govdelivery/tms/resource/webhook.rb
govdelivery-tms-0.10.1 lib/govdelivery/tms/resource/webhook.rb
govdelivery-tms-0.10.0 lib/govdelivery/tms/resource/webhook.rb
govdelivery-tms-0.9.4 lib/govdelivery/tms/resource/webhook.rb
govdelivery-tms-0.9.3 lib/govdelivery/tms/resource/webhook.rb
govdelivery-tms-0.9.2 lib/govdelivery/tms/resource/webhook.rb
govdelivery-tms-0.9.0 lib/govdelivery/tms/resource/webhook.rb
govdelivery-tms-0.8.14 lib/govdelivery/tms/resource/webhook.rb
govdelivery-tms-0.8.13 lib/govdelivery/tms/resource/webhook.rb
govdelivery-tms-0.8.12 lib/govdelivery/tms/resource/webhook.rb
govdelivery-tms-0.8.11 lib/govdelivery/tms/resource/webhook.rb
govdelivery-tms-0.8.10 lib/govdelivery/tms/resource/webhook.rb
govdelivery-tms-0.8.9 lib/govdelivery/tms/resource/webhook.rb
govdelivery-tms-0.8.8 lib/govdelivery/tms/resource/webhook.rb
govdelivery-tms-0.8.7 lib/govdelivery/tms/resource/webhook.rb
govdelivery-tms-0.8.5 lib/govdelivery/tms/resource/webhook.rb
govdelivery-tms-0.8.4 lib/govdelivery/tms/resource/webhook.rb
govdelivery-tms-0.8.3 lib/govdelivery/tms/resource/webhook.rb