module OneSignal

Constants

DEVICE_TYPES
VERSION

Public Class Methods

device_type_as_integer(device_type) click to toggle source
# File lib/onesignal.rb, line 20
def self.device_type_as_integer(device_type)
  DEVICE_TYPES.index(device_type)
end