Method: UltracartClient::VerificationRecord#==

Defined in:
lib/ultracart_api/models/verification_record.rb

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



96
97
98
99
100
101
102
# File 'lib/ultracart_api/models/verification_record.rb', line 96

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      name == o.name &&
      type == o.type &&
      value == o.value
end