Method: Wire4Client::CompanyRegistered#==

Defined in:
lib/wire4_client/models/company_registered.rb

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



108
109
110
111
112
113
114
115
116
117
# File 'lib/wire4_client/models/company_registered.rb', line 108

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      business_name == o.business_name &&
      certificate == o.certificate &&
      comercial_name == o.comercial_name &&
      company_id == o.company_id &&
      rfc == o.rfc &&
      status == o.status
end