Method: Printful::State#hash

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

#hashInteger

Calculates hash code according to all attributes.

Returns:

  • (Integer)

    Hash code



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

def hash
  [code, name].hash
end