Exception: C2dm::Errors::MessageTooBig
- Inherits:
-
StandardError
- Object
- StandardError
- C2dm::Errors::MessageTooBig
- Defined in:
- lib/c2dm_on_rails/c2dm_on_rails.rb
Overview
The payload of the message is too big, the limit is currently 1024 bytes. Reduce the size of the message.
Instance Method Summary collapse
-
#initialize(message) ⇒ MessageTooBig
constructor
:nodoc:.
Constructor Details
#initialize(message) ⇒ MessageTooBig
:nodoc:
10 11 12 |
# File 'lib/c2dm_on_rails/c2dm_on_rails.rb', line 10 def initialize() # :nodoc: super("The maximum size allowed for a notification payload is 1024 bytes: '#{}'") end |