Method: DocuSign_eSign::AddressInformationV2#==

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

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



127
128
129
130
131
132
133
134
135
136
137
138
# File 'lib/docusign_esign/models/address_information_v2.rb', line 127

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
end