Class: Unit::Types::EvaluationParams
- Inherits:
-
Object
- Object
- Unit::Types::EvaluationParams
- Defined in:
- lib/unit/types/evaluation_params.rb
Instance Attribute Summary collapse
-
#required_verification ⇒ Object
readonly
Returns the value of attribute required_verification.
-
#use_selfie_verification ⇒ Object
readonly
Returns the value of attribute use_selfie_verification.
Instance Method Summary collapse
-
#initialize(use_selfie_verification = nil, required_verification = nil) ⇒ EvaluationParams
constructor
A new instance of EvaluationParams.
- #represent ⇒ Object
Constructor Details
#initialize(use_selfie_verification = nil, required_verification = nil) ⇒ EvaluationParams
Returns a new instance of EvaluationParams.
9 10 11 12 |
# File 'lib/unit/types/evaluation_params.rb', line 9 def initialize(use_selfie_verification = nil, required_verification = nil) @use_selfie_verification = use_selfie_verification @required_verification = required_verification end |
Instance Attribute Details
#required_verification ⇒ Object (readonly)
Returns the value of attribute required_verification.
7 8 9 |
# File 'lib/unit/types/evaluation_params.rb', line 7 def required_verification @required_verification end |
#use_selfie_verification ⇒ Object (readonly)
Returns the value of attribute use_selfie_verification.
7 8 9 |
# File 'lib/unit/types/evaluation_params.rb', line 7 def use_selfie_verification @use_selfie_verification end |
Instance Method Details
#represent ⇒ Object
14 15 16 17 18 19 |
# File 'lib/unit/types/evaluation_params.rb', line 14 def represent { useSelfieVerification: use_selfie_verification, requiredVerification: required_verification }.compact! end |