Sha256: e036e62571b0e6693f3fefdf8bf1ceaad4e67a921dec86051aec06ba67bd2de9

Contents?: true

Size: 404 Bytes

Versions: 18

Compression:

Stored size: 404 Bytes

Contents

module Rpush
  def self.apns_feedback
    require 'rpush/daemon'
    Rpush::Daemon.common_init

    Rpush::Apns::App.all.each do |app|
      # Redis stores every App type on the same namespace, hence the
      # additional filtering
      next unless app.service_name == 'apns'

      receiver = Rpush::Daemon::Apns::FeedbackReceiver.new(app)
      receiver.check_for_feedback
    end

    nil
  end
end

Version data entries

18 entries across 18 versions & 2 rubygems

Version Path
rpush-4.1.0 lib/rpush/apns_feedback.rb
rpush-4.0.1 lib/rpush/apns_feedback.rb
rpush-4.0.0 lib/rpush/apns_feedback.rb
rpush-3.3.1 lib/rpush/apns_feedback.rb
rpush-3.3.0 lib/rpush/apns_feedback.rb
rpush_extended-3.2.6 lib/rpush/apns_feedback.rb
rpush_extended-3.2.5 lib/rpush/apns_feedback.rb
rpush-3.2.4 lib/rpush/apns_feedback.rb
rpush-3.2.3 lib/rpush/apns_feedback.rb
rpush-3.2.2 lib/rpush/apns_feedback.rb
rpush-3.2.1 lib/rpush/apns_feedback.rb
rpush-3.2.0 lib/rpush/apns_feedback.rb
rpush-3.1.1 lib/rpush/apns_feedback.rb
rpush-3.1.0 lib/rpush/apns_feedback.rb
rpush-3.0.2 lib/rpush/apns_feedback.rb
rpush-3.0.1 lib/rpush/apns_feedback.rb
rpush-3.0.0 lib/rpush/apns_feedback.rb
rpush-3.0.0.rc1 lib/rpush/apns_feedback.rb