Method: KlaviyoAPI::UnsubscriptionParameters#hash

Defined in:
lib/klaviyo-api-sdk/models/unsubscription_parameters.rb

#hashInteger

Calculates hash code according to all attributes.

Returns:

  • (Integer)

    Hash code



134
135
136
# File 'lib/klaviyo-api-sdk/models/unsubscription_parameters.rb', line 134

def hash
  [consent].hash
end