Module: NotifyUser
- Defined in:
- lib/notify_user.rb,
lib/notify_user/engine.rb,
lib/notify_user/version.rb,
app/models/notify_user/gcm.rb,
app/models/notify_user/apns.rb,
app/models/notify_user/push.rb,
app/models/notify_user/pub_nub.rb,
app/models/notify_user/user_hash.rb,
app/models/notify_user/unsubscribe.rb,
app/models/notify_user/urban_airship.rb,
app/models/notify_user/apn_connection.rb,
app/models/notify_user/base_notification.rb,
app/helpers/notify_user/application_helper.rb,
app/mailers/notify_user/notification_mailer.rb,
lib/generators/notify_user/notification/notification_generator.rb
Defined Under Namespace
Modules: ApplicationHelper Classes: APNConnection, AggrIntervalUpdateGenerator, Apns, BaseNotification, BaseNotificationsController, Engine, Gcm, InstallGenerator, JsonUpdateGenerator, NotificationGenerator, NotificationMailer, NotificationSerializer, NotificationsController, PubNub, Push, Unsubscribe, UrbanAirship, UserHash
Constant Summary collapse
- VERSION =
"0.3.2"
- @@mailer_sender =
nil
- @@authentication_method =
nil
- @@current_user_method =
nil
- @@unsubscribable_notifications =
nil
- @@apns_provider =
nil
Class Method Summary collapse
- .send_notification(type) ⇒ Object
-
.setup {|_self| ... } ⇒ Object
Used to set up NotifyUser from the initializer.
Class Method Details
.send_notification(type) ⇒ Object
28 29 30 |
# File 'lib/notify_user.rb', line 28 def self.send_notification(type) type.camelize.constantize.new end |
.setup {|_self| ... } ⇒ Object
Used to set up NotifyUser from the initializer.
24 25 26 |
# File 'lib/notify_user.rb', line 24 def self.setup yield self end |