Sha256: d24d68adfe0dc33c46c9ed12e2f6d4b5e7e01acbf28d2614901a9a71ce32f723

Contents?: true

Size: 491 Bytes

Versions: 2

Compression:

Stored size: 491 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 :environment_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

2 entries across 2 versions & 1 rubygems

Version Path
workos-2.2.1 lib/workos/types/factor_struct.rb
workos-2.2.0 lib/workos/types/factor_struct.rb