Class: Clerk::Models::Operations::UpdateSignUpRequestBody

Inherits:
Object
  • Object
show all
Includes:
Crystalline::MetadataFields
Defined in:
lib/clerk/models/operations/updatesignup_requestbody.rb

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

#field, #fields, included, #marshal_single, #to_dict, #to_json

Constructor Details

#initialize(external_id: nil, custom_action: nil) ⇒ UpdateSignUpRequestBody

Returns a new instance of UpdateSignUpRequestBody.



22
23
24
25
# File 'lib/clerk/models/operations/updatesignup_requestbody.rb', line 22

def initialize(external_id: nil, custom_action: nil)
  @external_id = external_id
  @custom_action = custom_action
end

Instance Method Details

#==(other) ⇒ Object



28
29
30
31
32
33
# File 'lib/clerk/models/operations/updatesignup_requestbody.rb', line 28

def ==(other)
  return false unless other.is_a? self.class
  return false unless @external_id == other.external_id
  return false unless @custom_action == other.custom_action
  true
end