Sha256: ffad3c0b4dc6f1e201847c142f7e7d02a01a34fdbca15618c11f329f02064174
Contents?: true
Size: 283 Bytes
Versions: 23
Compression:
Stored size: 283 Bytes
Contents
module Notifiable module Concern extend ActiveSupport::Concern def send_notification(notification) notification.batch do |n| n.add_notifiable(self) end end def device_tokens Notifiable::DeviceToken.where(:user_id => self.id) end end end
Version data entries
23 entries across 23 versions & 1 rubygems