Class: WorkOS::RadarStandaloneAssessRequest
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- WorkOS::RadarStandaloneAssessRequest
- Defined in:
- lib/workos/radar/radar_standalone_assess_request.rb
Constant Summary collapse
- HASH_ATTRS =
{ ip_address: :ip_address, user_agent: :user_agent, email: :email, auth_method: :auth_method, action: :action, signals_id: :signals_id }.freeze
Instance Attribute Summary collapse
-
#action ⇒ Object
Returns the value of attribute action.
-
#auth_method ⇒ Object
Returns the value of attribute auth_method.
-
#email ⇒ Object
Returns the value of attribute email.
-
#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) ⇒ RadarStandaloneAssessRequest
constructor
A new instance of RadarStandaloneAssessRequest.
Constructor Details
#initialize(json) ⇒ RadarStandaloneAssessRequest
Returns a new instance of RadarStandaloneAssessRequest.
24 25 26 27 28 29 30 31 32 |
# File 'lib/workos/radar/radar_standalone_assess_request.rb', line 24 def initialize(json) hash = self.class.normalize(json) @ip_address = hash[:ip_address] @user_agent = hash[:user_agent] @email = hash[:email] @auth_method = hash[:auth_method] @action = hash[:action] @signals_id = hash[:signals_id] end |
Instance Attribute Details
#action ⇒ Object
Returns the value of attribute action.
16 17 18 |
# File 'lib/workos/radar/radar_standalone_assess_request.rb', line 16 def action @action end |
#auth_method ⇒ Object
Returns the value of attribute auth_method.
16 17 18 |
# File 'lib/workos/radar/radar_standalone_assess_request.rb', line 16 def auth_method @auth_method end |
#email ⇒ Object
Returns the value of attribute email.
16 17 18 |
# File 'lib/workos/radar/radar_standalone_assess_request.rb', line 16 def email @email end |
#ip_address ⇒ Object
Returns the value of attribute ip_address.
16 17 18 |
# File 'lib/workos/radar/radar_standalone_assess_request.rb', line 16 def ip_address @ip_address end |
#signals_id ⇒ Object
Returns the value of attribute signals_id.
16 17 18 |
# File 'lib/workos/radar/radar_standalone_assess_request.rb', line 16 def signals_id @signals_id end |
#user_agent ⇒ Object
Returns the value of attribute user_agent.
16 17 18 |
# File 'lib/workos/radar/radar_standalone_assess_request.rb', line 16 def user_agent @user_agent end |