Sha256: 6ae6d1d53f31a12e6fc27692a1494e929679173bbf78996d9ba057e586be459a

Contents?: true

Size: 473 Bytes

Versions: 5

Compression:

Stored size: 473 Bytes

Contents

# frozen_string_literal: true
# typed: strict

module WorkOS
  module Types
    # The ProfileStruct acts as a typed interface
    # for the Profile class
    class ProfileStruct < T::Struct
      const :id, String
      const :email, String
      const :first_name, T.nilable(String)
      const :last_name, T.nilable(String)
      const :connection_type, String
      const :idp_id, T.nilable(String)
      const :raw_attributes, T::Hash[Symbol, Object]
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
workos-0.8.1 lib/workos/types/profile_struct.rb
workos-0.8.0 lib/workos/types/profile_struct.rb
workos-0.7.0 lib/workos/types/profile_struct.rb
workos-0.6.0 lib/workos/types/profile_struct.rb
workos-0.5.0 lib/workos/types/profile_struct.rb