Sha256: 70ed1a6c1810b8dbde506fc3941a29b3aaec5687a208833f62dbcaf4a528fa44

Contents?: true

Size: 486 Bytes

Versions: 3

Compression:

Stored size: 486 Bytes

Contents

# frozen_string_literal: true
# typed: strict

module WorkOS
  module Types
    # This UserStruct acts as a typed interface for the User class
    class UserStruct < T::Struct
      const :id, String
      const :email, String
      const :first_name, T.nilable(String)
      const :last_name, T.nilable(String)
      const :email_verified, T::Boolean
      const :profile_picture_url, T.nilable(String)
      const :created_at, String
      const :updated_at, String
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
workos-4.1.0 lib/workos/types/user_struct.rb
workos-4.0.0 lib/workos/types/user_struct.rb
workos-3.1.0 lib/workos/types/user_struct.rb