Method: Printful::GenerationTaskFile#==

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

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



112
113
114
115
116
117
118
119
# File 'lib/printful_client/models/generation_task_file.rb', line 112

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      placement == o.placement &&
      image_url == o.image_url &&
      position == o.position &&
      options == o.options
end