Method: CrelateClient::ExtReferralRequest#==

Defined in:
lib/crelate_client/models/ext_referral_request.rb

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



96
97
98
99
100
101
102
103
104
# File 'lib/crelate_client/models/ext_referral_request.rb', line 96

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      contact_name == o.contact_name &&
      company_name == o.company_name &&
      phone == o.phone &&
      state == o.state &&
      email == o.email
end