Class: DingSDK::Shared::Signals
- Inherits:
 - 
      Utils::FieldAugmented
      
        
- Object
 - Utils::FieldAugmented
 - DingSDK::Shared::Signals
 
 
- Extended by:
 - T::Sig
 
- Defined in:
 - lib/ding_sdk/models/shared/signals.rb
 
Overview
[Signals](/guides/prevent-fraud#signals) are data points used to distinguish between fraudulent and legitimate users.
Instance Method Summary collapse
- 
  
    
      #initialize(app_realm: nil, app_version: nil, device_id: nil, device_model: nil, device_type: nil, ip: nil, is_returning_user: nil, os_version: nil)  ⇒ Signals 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of Signals.
 
Methods included from MetadataFields
#field, #fields, included, #marshal_json, #marshal_single
Constructor Details
#initialize(app_realm: nil, app_version: nil, device_id: nil, device_model: nil, device_type: nil, ip: nil, is_returning_user: nil, os_version: nil) ⇒ Signals
Returns a new instance of Signals.
      33 34 35 36 37 38 39 40 41 42  | 
    
      # File 'lib/ding_sdk/models/shared/signals.rb', line 33 def initialize(app_realm: nil, app_version: nil, device_id: nil, device_model: nil, device_type: nil, ip: nil, is_returning_user: nil, os_version: nil) @app_realm = app_realm @app_version = app_version @device_id = device_id @device_model = device_model @device_type = device_type @ip = ip @is_returning_user = is_returning_user @os_version = os_version end  |