Method: Printful::ProductTemplate#==

Defined in:
lib/printful_client/models/product_template.rb

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



126
127
128
129
130
131
132
133
134
# File 'lib/printful_client/models/product_template.rb', line 126

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      version == o.version &&
      min_dpi == o.min_dpi &&
      variant_mapping == o.variant_mapping &&
      templates == o.templates &&
      conflicting_placements == o.conflicting_placements
end