Sha256: a31de2594adb62fb6866fd9b8d5d73cc0677ae7eccb6db83eef4dba2ba70ba61

Contents?: true

Size: 328 Bytes

Versions: 8

Compression:

Stored size: 328 Bytes

Contents

# frozen_string_literal: true
# typed: strict

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

Version data entries

8 entries across 8 versions & 1 rubygems

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