Exception: Pling::DeliveryFailed

Inherits:
Error
  • Object
show all
Defined in:
lib/pling.rb

Direct Known Subclasses

C2DM::DeviceQuotaExceeded, C2DM::InvalidRegistration, C2DM::MessageTooBig, C2DM::MissingCollapseKey, C2DM::NotRegistered, C2DM::QuotaExceeded, GCM::InternalServerError, GCM::InvalidRegistration, GCM::InvalidTtl, GCM::MessageTooBig, GCM::MismatchSenderId, GCM::MissingRegistration, GCM::NotRegistered, GCM::Unavailable

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Constructor Details

- (DeliveryFailed) initialize(message = nil, pling_message = nil, pling_device = nil)

A new instance of DeliveryFailed



29
30
31
32
33
# File 'lib/pling.rb', line 29

def initialize(message = nil, pling_message = nil, pling_device = nil)
  super(message)
  @pling_message = pling_message
  @pling_device  = pling_device
end

Instance Attribute Details

- (Object) pling_device (readonly)

Returns the value of attribute pling_device



27
28
29
# File 'lib/pling.rb', line 27

def pling_device
  @pling_device
end

- (Object) pling_message (readonly)

Returns the value of attribute pling_message



27
28
29
# File 'lib/pling.rb', line 27

def pling_message
  @pling_message
end