Sha256: 653426767ae4b4eedd7f4ff0a08609e7fbf1d5f51761b29c6c4790caf6434279
Contents?: true
Size: 252 Bytes
Versions: 1
Compression:
Stored size: 252 Bytes
Contents
module Notifiable::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
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
notifiable-rails-0.1.0 | lib/notifiable/notifiable_concern.rb |