Method: OneSignal::GetNotificationRequestBody#hash

Defined in:
lib/onesignal/models/get_notification_request_body.rb

#hashInteger

Calculates hash code according to all attributes.

Returns:

  • (Integer)

    Hash code



148
149
150
# File 'lib/onesignal/models/get_notification_request_body.rb', line 148

def hash
  [events, email, app_id].hash
end