Method: DocSpring::ErrorResponse#==
- Defined in:
- lib/docspring/models/error_response.rb
#==(o) ⇒ Object
Checks equality by comparing each attribute.
138 139 140 141 142 143 |
# File 'lib/docspring/models/error_response.rb', line 138 def ==(o) return true if self.equal?(o) self.class == o.class && status == o.status && error == o.error end |