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