Sha256: 21424026799277b48c16823c50025f5b209123c39dffc869b1fa9d88f4406986
Contents?: true
Size: 496 Bytes
Versions: 20
Compression:
Stored size: 496 Bytes
Contents
require 'urbanairship/util' module Urbanairship module Push module Schedule # Select a date and time for Scheduled Push def scheduled_time(datetime) payload(:scheduled_time, datetime) end # Select a local date and time for Scheduled Push def local_scheduled_time(datetime) payload(:local_scheduled_time, datetime) end private def payload(name, time) { name => Util.time_format(time) } end end end end
Version data entries
20 entries across 20 versions & 1 rubygems