class Pushing::Adapters::TestAdapter::Deliveries

Public Class Methods

new() click to toggle source
# File lib/pushing/adapters/test_adapter.rb, line 9
def initialize
  @deliveries = []
end

Public Instance Methods

apn() click to toggle source
# File lib/pushing/adapters/test_adapter.rb, line 15
def apn
  select {|delivery| delivery.is_a?(Platforms::ApnPayload) }
end
fcm() click to toggle source
# File lib/pushing/adapters/test_adapter.rb, line 19
def fcm
  select {|delivery| delivery.is_a?(Platforms::FcmPayload) }
end