Module: Hertz::Fcm
- Defined in:
- lib/hertz/fcm.rb,
lib/hertz/fcm/engine.rb,
lib/hertz/fcm/version.rb,
lib/generators/hertz/fcm/install_generator.rb,
app/jobs/hertz/fcm/notification_delivery_job.rb
Defined Under Namespace
Classes: Engine, InstallGenerator, NotificationDeliveryJob
Constant Summary collapse
- VERSION =
'1.0.2'
Class Method Summary collapse
Class Method Details
.configure {|_self| ... } ⇒ Object
14 15 16 |
# File 'lib/hertz/fcm.rb', line 14 def configure yield(self) end |
.deliver_notification(notification) ⇒ Object
18 19 20 |
# File 'lib/hertz/fcm.rb', line 18 def deliver_notification(notification) Hertz::Fcm::NotificationDeliveryJob.perform_later(notification) end |