Method: DocuSign_eSign::AddressInformation#==

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

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



134
135
136
137
138
139
140
141
142
143
144
145
146
# File 'lib/docusign_esign/models/address_information.rb', line 134

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      address1 == o.address1 &&
      address2 == o.address2 &&
      city == o.city &&
      country == o.country &&
      fax == o.fax &&
      phone == o.phone &&
      postal_code == o.postal_code &&
      state_or_province == o.state_or_province &&
      zip_plus4 == o.zip_plus4
end