Method: BtTest::MeData#==

Defined in:
lib/bt_test/models/me_data.rb

#==(o) ⇒ Object

Checks equality by comparing each attribute.



104
105
106
107
108
109
110
111
# File 'lib/bt_test/models/me_data.rb', line 104

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      id == o.id &&
      type == o.type &&
      attributes == o.attributes &&
      relationships == o.relationships
end