Sha256: 63978d482bc0abe7b3ca7f362baee2875eb236112fd768c5db37016ac404af25

Contents?: true

Size: 303 Bytes

Versions: 19

Compression:

Stored size: 303 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]
    end
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
workos-2.12.1 lib/workos/types/webhook_struct.rb
workos-2.12.0 lib/workos/types/webhook_struct.rb
workos-2.11.0 lib/workos/types/webhook_struct.rb
workos-2.10.0 lib/workos/types/webhook_struct.rb
workos-2.9.0 lib/workos/types/webhook_struct.rb
workos-2.8.0 lib/workos/types/webhook_struct.rb
workos-2.7.0 lib/workos/types/webhook_struct.rb
workos-2.6.0 lib/workos/types/webhook_struct.rb
workos-2.5.1 lib/workos/types/webhook_struct.rb
workos-2.5.0 lib/workos/types/webhook_struct.rb
workos-2.4.0 lib/workos/types/webhook_struct.rb
workos-2.3.0 lib/workos/types/webhook_struct.rb
workos-2.2.1 lib/workos/types/webhook_struct.rb
workos-2.2.0 lib/workos/types/webhook_struct.rb
workos-2.1.1 lib/workos/types/webhook_struct.rb
workos-2.1.0 lib/workos/types/webhook_struct.rb
workos-2.0.0 lib/workos/types/webhook_struct.rb
workos-1.6.1 lib/workos/types/webhook_struct.rb
workos-1.6.0 lib/workos/types/webhook_struct.rb