Method: JSONAPI::ResourceIdentity#eql?
- Defined in:
- lib/jsonapi/resource_identity.rb
#eql?(other) ⇒ Boolean
27 28 29 |
# File 'lib/jsonapi/resource_identity.rb', line 27 def eql?(other) other.is_a?(ResourceIdentity) && other.resource_klass == @resource_klass && other.id == @id end |