Exception: C2dm::Errors::NotRegistered

Inherits:
StandardError
  • Object
show all
Defined in:
lib/c2dm_on_rails/c2dm_on_rails.rb

Overview

The registration_id is no longer valid, for example user has uninstalled the application or turned off notifications. Sender should stop sending messages to this device.

Instance Method Summary collapse

Constructor Details

#initialize(message) ⇒ NotRegistered

:nodoc:



42
43
44
# File 'lib/c2dm_on_rails/c2dm_on_rails.rb', line 42

def initialize(message) # :nodoc:
  super("The registration_id is no longer valid: '#{message}'")
end