Sha256: 9ec176ad7879ca4fe6ec8382d1f46a379dcb3ca135fac6911b0b328ae753efdf

Contents?: true

Size: 455 Bytes

Versions: 21

Compression:

Stored size: 455 Bytes

Contents

# frozen_string_literal: true
# typed: strict

module WorkOS
  module Types
    # This FactorStruct acts as a typed interface
    # for the Factor class
    class FactorStruct < T::Struct
      const :id, String
      const :object, String
      const :type, String
      const :totp, T.nilable(T::Hash[Symbol, Object])
      const :sms, T.nilable(T::Hash[Symbol, Object])
      const :created_at, String
      const :updated_at, String
    end
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
workos-2.3.0 lib/workos/types/factor_struct.rb