Exception: Gcm::Errors::MismatchSenderId

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

Overview

A registration ID is tied to a certain group of senders. When an application registers for GCM usage, it must specify which senders are allowed to send messages.

Instance Method Summary collapse

Constructor Details

#initialize(message) ⇒ MismatchSenderId

:nodoc



26
27
28
# File 'lib/gcm_rails_mongo_mapper/gcm_rails_mongo_mapper.rb', line 26

def initialize(message) # :nodoc
  super("Mismatched Sender Id: '#{message}'")
end