Method: DocuSign_eSign::AccountAddress#==

Defined in:
lib/docusign_esign/models/account_address.rb

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
# File 'lib/docusign_esign/models/account_address.rb', line 163

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      address1 == o.address1 &&
      address2 == o.address2 &&
      city == o.city &&
      country == o.country &&
      email == o.email &&
      fax == o.fax &&
      first_name == o.first_name &&
      last_name == o.last_name &&
      phone == o.phone &&
      postal_code == o.postal_code &&
      state == o.state &&
      supported_countries == o.supported_countries
end