Class: Kombo::Models::Shared::GetAssessmentOrdersPositiveResponseCandidate
- Inherits:
-
Object
- Object
- Kombo::Models::Shared::GetAssessmentOrdersPositiveResponseCandidate
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/kombo/models/shared/getassessmentorderspositiveresponse_candidate.rb
Overview
Information about the candidate taking the assessment.
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(email:, remote_id: nil, first_name: nil, last_name: nil, phone: nil) ⇒ GetAssessmentOrdersPositiveResponseCandidate
constructor
A new instance of GetAssessmentOrdersPositiveResponseCandidate.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(email:, remote_id: nil, first_name: nil, last_name: nil, phone: nil) ⇒ GetAssessmentOrdersPositiveResponseCandidate
Returns a new instance of GetAssessmentOrdersPositiveResponseCandidate.
27 28 29 30 31 32 33 |
# File 'lib/kombo/models/shared/getassessmentorderspositiveresponse_candidate.rb', line 27 def initialize(email:, remote_id: nil, first_name: nil, last_name: nil, phone: nil) @email = email @remote_id = remote_id @first_name = first_name @last_name = last_name @phone = phone end |
Instance Method Details
#==(other) ⇒ Object
36 37 38 39 40 41 42 43 44 |
# File 'lib/kombo/models/shared/getassessmentorderspositiveresponse_candidate.rb', line 36 def ==(other) return false unless other.is_a? self.class return false unless @email == other.email return false unless @remote_id == other.remote_id return false unless @first_name == other.first_name return false unless @last_name == other.last_name return false unless @phone == other.phone true end |