Exception: Modulofcm::EmptyNotificationError

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

Instance Method Summary collapse

Constructor Details

#initializeEmptyNotificationError

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