module QPush::Server
Attributes
keys[RW]
worker[RW]
Public Class Methods
build_worker() { |worker| ... }
click to toggle source
A convenience method used to create new WorkerConfig
objects for use in our server configuration.
# File lib/qpush/server/worker.rb, line 9 def build_worker worker = WorkerConfig.new yield worker worker end
config()
click to toggle source
# File lib/qpush/server/config.rb, line 9 def config @config ||= Config.new end
jobs()
click to toggle source
# File lib/qpush/server/jobs.rb, line 18 def jobs @jobs ||= [] end
log()
click to toggle source
# File lib/qpush/server/logger.rb, line 6 def log @log ||= Log.new end