Method: MetatronClient::Resource#==
- Defined in:
- lib/metatron_ruby_client/models/resource.rb
#==(o) ⇒ Object
Checks equality by comparing each attribute.
156 157 158 159 160 161 162 |
# File 'lib/metatron_ruby_client/models/resource.rb', line 156 def ==(o) return true if self.equal?(o) self.class == o.class && id == o.id && type == o.type && attributes == o.attributes end |