Method: Noths::DeliveryService#==
- Defined in:
- lib/noths/models/delivery_service.rb
#==(o) ⇒ Object
Checks equality by comparing each attribute.
72 73 74 75 76 77 |
# File 'lib/noths/models/delivery_service.rb', line 72 def ==(o) return true if self.equal?(o) self.class == o.class && name == o.name && code == o.code end |