Class: WorkOS::EmailCompletionSessionAuthenticateRequest
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- WorkOS::EmailCompletionSessionAuthenticateRequest
- Defined in:
- lib/workos/user_management/email_completion_session_authenticate_request.rb
Constant Summary collapse
- HASH_ATTRS =
{ client_id: :client_id, client_secret: :client_secret, grant_type: :grant_type, email_completion_token: :email_completion_token, email: :email, ip_address: :ip_address, device_id: :device_id, user_agent: :user_agent, signals_id: :signals_id }.freeze
Instance Attribute Summary collapse
-
#client_id ⇒ Object
Returns the value of attribute client_id.
-
#client_secret ⇒ Object
Returns the value of attribute client_secret.
-
#device_id ⇒ Object
Returns the value of attribute device_id.
-
#email ⇒ Object
Returns the value of attribute email.
-
#email_completion_token ⇒ Object
Returns the value of attribute email_completion_token.
-
#grant_type ⇒ Object
Returns the value of attribute grant_type.
-
#ip_address ⇒ Object
Returns the value of attribute ip_address.
-
#signals_id ⇒ Object
Returns the value of attribute signals_id.
-
#user_agent ⇒ Object
Returns the value of attribute user_agent.
Instance Method Summary collapse
-
#initialize(json) ⇒ EmailCompletionSessionAuthenticateRequest
constructor
A new instance of EmailCompletionSessionAuthenticateRequest.
Constructor Details
#initialize(json) ⇒ EmailCompletionSessionAuthenticateRequest
Returns a new instance of EmailCompletionSessionAuthenticateRequest.
30 31 32 33 34 35 36 37 38 39 40 41 |
# File 'lib/workos/user_management/email_completion_session_authenticate_request.rb', line 30 def initialize(json) hash = self.class.normalize(json) @client_id = hash[:client_id] @client_secret = hash[:client_secret] @grant_type = hash[:grant_type] @email_completion_token = hash[:email_completion_token] @email = hash[:email] @ip_address = hash[:ip_address] @device_id = hash[:device_id] @user_agent = hash[:user_agent] @signals_id = hash[:signals_id] end |
Instance Attribute Details
#client_id ⇒ Object
Returns the value of attribute client_id.
19 20 21 |
# File 'lib/workos/user_management/email_completion_session_authenticate_request.rb', line 19 def client_id @client_id end |
#client_secret ⇒ Object
Returns the value of attribute client_secret.
19 20 21 |
# File 'lib/workos/user_management/email_completion_session_authenticate_request.rb', line 19 def client_secret @client_secret end |
#device_id ⇒ Object
Returns the value of attribute device_id.
19 20 21 |
# File 'lib/workos/user_management/email_completion_session_authenticate_request.rb', line 19 def device_id @device_id end |
#email ⇒ Object
Returns the value of attribute email.
19 20 21 |
# File 'lib/workos/user_management/email_completion_session_authenticate_request.rb', line 19 def email @email end |
#email_completion_token ⇒ Object
Returns the value of attribute email_completion_token.
19 20 21 |
# File 'lib/workos/user_management/email_completion_session_authenticate_request.rb', line 19 def email_completion_token @email_completion_token end |
#grant_type ⇒ Object
Returns the value of attribute grant_type.
19 20 21 |
# File 'lib/workos/user_management/email_completion_session_authenticate_request.rb', line 19 def grant_type @grant_type end |
#ip_address ⇒ Object
Returns the value of attribute ip_address.
19 20 21 |
# File 'lib/workos/user_management/email_completion_session_authenticate_request.rb', line 19 def ip_address @ip_address end |
#signals_id ⇒ Object
Returns the value of attribute signals_id.
19 20 21 |
# File 'lib/workos/user_management/email_completion_session_authenticate_request.rb', line 19 def signals_id @signals_id end |
#user_agent ⇒ Object
Returns the value of attribute user_agent.
19 20 21 |
# File 'lib/workos/user_management/email_completion_session_authenticate_request.rb', line 19 def user_agent @user_agent end |