Exception: Modulofcm::EmptyNotificationError
- Defined in:
- lib/modulofcm/errors.rb
Instance Method Summary collapse
-
#initialize ⇒ EmptyNotificationError
constructor
A new instance of EmptyNotificationError.
Constructor Details
#initialize ⇒ EmptyNotificationError
Returns a new instance of EmptyNotificationError.
25 26 27 |
# File 'lib/modulofcm/errors.rb', line 25 def initialize super('A data payload, a title or a body is required to send a notification') end |