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-4.1.0 lib/workos/types/factor_struct.rb
workos-4.0.0 lib/workos/types/factor_struct.rb
workos-3.1.0 lib/workos/types/factor_struct.rb
workos-3.0.0 lib/workos/types/factor_struct.rb
workos-2.17.0 lib/workos/types/factor_struct.rb
workos-2.16.0 lib/workos/types/factor_struct.rb
workos-2.15.0 lib/workos/types/factor_struct.rb
workos-2.14.0 lib/workos/types/factor_struct.rb
workos-2.13.0 lib/workos/types/factor_struct.rb
workos-2.12.1 lib/workos/types/factor_struct.rb
workos-2.12.0 lib/workos/types/factor_struct.rb
workos-2.11.0 lib/workos/types/factor_struct.rb
workos-2.10.0 lib/workos/types/factor_struct.rb
workos-2.9.0 lib/workos/types/factor_struct.rb
workos-2.8.0 lib/workos/types/factor_struct.rb
workos-2.7.0 lib/workos/types/factor_struct.rb
workos-2.6.0 lib/workos/types/factor_struct.rb
workos-2.5.1 lib/workos/types/factor_struct.rb
workos-2.5.0 lib/workos/types/factor_struct.rb
workos-2.4.0 lib/workos/types/factor_struct.rb