Method: MetatronClient::AssetData#==

Defined in:
lib/metatron_ruby_client/models/asset_data.rb

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



83
84
85
86
87
88
89
# File 'lib/metatron_ruby_client/models/asset_data.rb', line 83

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