Method: Onfido::WebhookShared#hash

Defined in:
lib/onfido/models/webhook_shared.rb

#hashInteger

Calculates hash code according to all attributes.

Returns:

  • (Integer)

    Hash code



131
132
133
# File 'lib/onfido/models/webhook_shared.rb', line 131

def hash
  [enabled, events, environments, payload_version].hash
end