Class: WorkOS::SSORequiredOAuthErrorBodyWithConnectionIdsListEmailPendingAuthenticationToken
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- WorkOS::SSORequiredOAuthErrorBodyWithConnectionIdsListEmailPendingAuthenticationToken
- Defined in:
- lib/workos/shared/sso_required_oauth_error_body_with_connection_ids_list_email_pending_authentication_token.rb
Constant Summary collapse
- HASH_ATTRS =
{ error: :error, error_description: :error_description, connection_ids: :connection_ids, email: :email, pending_authentication_token: :pending_authentication_token }.freeze
Instance Attribute Summary collapse
-
#connection_ids ⇒ Object
Returns the value of attribute connection_ids.
-
#email ⇒ Object
Returns the value of attribute email.
-
#error ⇒ Object
Returns the value of attribute error.
-
#error_description ⇒ Object
Returns the value of attribute error_description.
-
#pending_authentication_token ⇒ Object
Returns the value of attribute pending_authentication_token.
Instance Method Summary collapse
-
#initialize(json) ⇒ SSORequiredOAuthErrorBodyWithConnectionIdsListEmailPendingAuthenticationToken
constructor
A new instance of SSORequiredOAuthErrorBodyWithConnectionIdsListEmailPendingAuthenticationToken.
Constructor Details
#initialize(json) ⇒ SSORequiredOAuthErrorBodyWithConnectionIdsListEmailPendingAuthenticationToken
Returns a new instance of SSORequiredOAuthErrorBodyWithConnectionIdsListEmailPendingAuthenticationToken.
22 23 24 25 26 27 28 29 |
# File 'lib/workos/shared/sso_required_oauth_error_body_with_connection_ids_list_email_pending_authentication_token.rb', line 22 def initialize(json) hash = self.class.normalize(json) @error = hash[:error] @error_description = hash[:error_description] @connection_ids = hash[:connection_ids] || [] @email = hash[:email] @pending_authentication_token = hash[:pending_authentication_token] end |
Instance Attribute Details
#connection_ids ⇒ Object
Returns the value of attribute connection_ids.
15 16 17 |
# File 'lib/workos/shared/sso_required_oauth_error_body_with_connection_ids_list_email_pending_authentication_token.rb', line 15 def connection_ids @connection_ids end |
#email ⇒ Object
Returns the value of attribute email.
15 16 17 |
# File 'lib/workos/shared/sso_required_oauth_error_body_with_connection_ids_list_email_pending_authentication_token.rb', line 15 def email @email end |
#error ⇒ Object
Returns the value of attribute error.
15 16 17 |
# File 'lib/workos/shared/sso_required_oauth_error_body_with_connection_ids_list_email_pending_authentication_token.rb', line 15 def error @error end |
#error_description ⇒ Object
Returns the value of attribute error_description.
15 16 17 |
# File 'lib/workos/shared/sso_required_oauth_error_body_with_connection_ids_list_email_pending_authentication_token.rb', line 15 def error_description @error_description end |
#pending_authentication_token ⇒ Object
Returns the value of attribute pending_authentication_token.
15 16 17 |
# File 'lib/workos/shared/sso_required_oauth_error_body_with_connection_ids_list_email_pending_authentication_token.rb', line 15 def pending_authentication_token @pending_authentication_token end |