Method: TransferZero::FieldValidation#==
- Defined in:
- lib/transferzero-sdk/models/field_validation.rb
#==(o) ⇒ Object
Checks equality by comparing each attribute.
86 87 88 89 90 91 92 |
# File 'lib/transferzero-sdk/models/field_validation.rb', line 86 def ==(o) return true if self.equal?(o) self.class == o.class && presence == o.presence && inclusion == o.inclusion && format == o.format end |