Method: Printful::FileType#==

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

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



121
122
123
124
125
126
127
128
129
# File 'lib/printful_client/models/file_type.rb', line 121

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