Method: TransferZero::FieldDescription#==

Defined in:
lib/transferzero-sdk/models/field_description.rb

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



111
112
113
114
115
116
# File 'lib/transferzero-sdk/models/field_description.rb', line 111

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