Method: Printful::ProductInfo#hash

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

#hashInteger

Calculates hash code according to all attributes.

Returns:

  • (Integer)

    Hash code



107
108
109
# File 'lib/printful_client/models/product_info.rb', line 107

def hash
  [product, variants].hash
end