module FwtPushNotificationServer

Constants

VERSION

Public Class Methods

apns_config() click to toggle source
# File lib/fwt_push_notification_server.rb, line 42
def self.apns_config
  {
    :gateway => apns_gateway,
    :certificate => apns_certificate,
    :passphrase => apns_passphrase
  }
end
begin_transaction(message) click to toggle source
# File lib/fwt_push_notification_server.rb, line 50
def self.begin_transaction(message)
  notifiers.each_value do |notifier|
    notifier.begin_transaction(message)
  end
end
commit_transaction() click to toggle source
# File lib/fwt_push_notification_server.rb, line 56
def self.commit_transaction
  notifiers.each_value do |notifier|
    notifier.commit_transaction
  end
end
configure() { |self| ... } click to toggle source
# File lib/fwt_push_notification_server.rb, line 28
def self.configure
  yield self
end