Sha256: cb7073df8d428227b24f8d7aee946c1abf34297ad3e98877ccd60e6cddb2a952
Contents?: true
Size: 413 Bytes
Versions: 2
Compression:
Stored size: 413 Bytes
Contents
module Rpush def self.push(options = {}) Rpush.require_for_daemon config = Rpush::ConfigurationWithoutDefaults.new options.each { |k, v| config.send("#{k}=", v) } config.push = true Rpush.config.update(config) Rpush::Daemon.initialize_store Rpush::Daemon::AppRunner.sync Rpush::Daemon::Feeder.start Rpush::Daemon::AppRunner.wait Rpush::Daemon::AppRunner.stop end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rpush-1.0.0-java | lib/rpush/push.rb |
rpush-1.0.0 | lib/rpush/push.rb |