Sha256: 94dfc775aa9b3a521309aded79ce06b392a660803f6f3c5db199889914594264

Contents?: true

Size: 335 Bytes

Versions: 9

Compression:

Stored size: 335 Bytes

Contents

# frozen_string_literal: true
# typed: strict

module WorkOS
  module Types
    # This WebhookStruct acts as a typed interface
    # for the Webhook class
    class WebhookStruct < T::Struct
      const :id, String
      const :event, String
      const :data, T::Hash[Symbol, Object]
      const :created_at, String
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
workos-4.1.0 lib/workos/types/webhook_struct.rb
workos-4.0.0 lib/workos/types/webhook_struct.rb
workos-3.1.0 lib/workos/types/webhook_struct.rb
workos-3.0.0 lib/workos/types/webhook_struct.rb
workos-2.17.0 lib/workos/types/webhook_struct.rb
workos-2.16.0 lib/workos/types/webhook_struct.rb
workos-2.15.0 lib/workos/types/webhook_struct.rb
workos-2.14.0 lib/workos/types/webhook_struct.rb
workos-2.13.0 lib/workos/types/webhook_struct.rb