Sha256: 3deaa3ea5db7437f20d47ec0ad8c3250562559fea8f6aa4a72681148a626a1e4

Contents?: true

Size: 409 Bytes

Versions: 3

Compression:

Stored size: 409 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, String
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
workos-0.4.1 lib/workos/types/profile_struct.rb
workos-0.4.0 lib/workos/types/profile_struct.rb
workos-0.3.3 lib/workos/types/profile_struct.rb