Class: Clerk::Models::Operations::AttemptPhoneNumberVerificationRequestBody
- Inherits:
-
Object
- Object
- Clerk::Models::Operations::AttemptPhoneNumberVerificationRequestBody
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/clerk/models/operations/attemptphonenumberverification_requestbody.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(verification_id:, code:, honor_lockout: false) ⇒ AttemptPhoneNumberVerificationRequestBody
constructor
A new instance of AttemptPhoneNumberVerificationRequestBody.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(verification_id:, code:, honor_lockout: false) ⇒ AttemptPhoneNumberVerificationRequestBody
Returns a new instance of AttemptPhoneNumberVerificationRequestBody.
25 26 27 28 29 |
# File 'lib/clerk/models/operations/attemptphonenumberverification_requestbody.rb', line 25 def initialize(verification_id:, code:, honor_lockout: false) @verification_id = verification_id @code = code @honor_lockout = honor_lockout end |
Instance Method Details
#==(other) ⇒ Object
32 33 34 35 36 37 38 |
# File 'lib/clerk/models/operations/attemptphonenumberverification_requestbody.rb', line 32 def ==(other) return false unless other.is_a? self.class return false unless @verification_id == other.verification_id return false unless @code == other.code return false unless @honor_lockout == other.honor_lockout true end |