lib/workos.rb in workos-2.17.0 vs lib/workos.rb in workos-3.0.0
- old
+ new
@@ -41,37 +41,42 @@
warn '`WorkOS.key` is deprecated. Use `WorkOS.configure` instead.'
config.key
end
- autoload :Types, 'workos/types'
- autoload :Client, 'workos/client'
- autoload :Configuration, 'workos/configuration'
autoload :AuditLogExport, 'workos/audit_log_export'
+ autoload :AuthenticationFactorAndChallenge, 'workos/authentication_factor_and_challenge'
+ autoload :AuthenticationResponse, 'workos/authentication_response'
autoload :AuditLogs, 'workos/audit_logs'
- autoload :AuditTrail, 'workos/audit_trail'
+ autoload :Challenge, 'workos/challenge'
+ autoload :Client, 'workos/client'
autoload :Connection, 'workos/connection'
- autoload :DirectorySync, 'workos/directory_sync'
+ autoload :DeprecatedHashWrapper, 'workos/deprecated_hash_wrapper'
autoload :Directory, 'workos/directory'
autoload :DirectoryGroup, 'workos/directory_group'
+ autoload :DirectorySync, 'workos/directory_sync'
+ autoload :DirectoryUser, 'workos/directory_user'
autoload :Event, 'workos/event'
autoload :Events, 'workos/events'
+ autoload :Factor, 'workos/factor'
+ autoload :Invitation, 'workos/invitation'
+ autoload :MFA, 'workos/mfa'
autoload :Organization, 'workos/organization'
autoload :Organizations, 'workos/organizations'
+ autoload :OrganizationMembership, 'workos/organization_membership'
autoload :Passwordless, 'workos/passwordless'
autoload :Portal, 'workos/portal'
autoload :Profile, 'workos/profile'
autoload :ProfileAndToken, 'workos/profile_and_token'
autoload :SSO, 'workos/sso'
- autoload :DirectoryUser, 'workos/directory_user'
+ autoload :Types, 'workos/types'
+ autoload :User, 'workos/user'
+ autoload :UserAndToken, 'workos/user_and_token'
+ autoload :UserManagement, 'workos/user_management'
+ autoload :UserResponse, 'workos/user_response'
+ autoload :VerifyChallenge, 'workos/verify_challenge'
autoload :Webhook, 'workos/webhook'
autoload :Webhooks, 'workos/webhooks'
- autoload :MFA, 'workos/mfa'
- autoload :Factor, 'workos/factor'
- autoload :Challenge, 'workos/challenge'
- autoload :VerifyChallenge, 'workos/verify_challenge'
- autoload :DeprecatedHashWrapper, 'workos/deprecated_hash_wrapper'
-
# Errors
autoload :APIError, 'workos/errors'
autoload :AuthenticationError, 'workos/errors'
autoload :InvalidRequestError, 'workos/errors'