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