Module: NotifyUser
- Defined in:
- lib/notify_user.rb,
lib/notify_user/engine.rb,
lib/notify_user/version.rb,
app/models/notify_user/apns.rb,
app/models/notify_user/houston.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, Apns, BaseNotification, BaseNotificationsController, Engine, Houston, InstallGenerator, JsonUpdateGenerator, NotificationGenerator, NotificationMailer, NotificationSerializer, NotificationsController, PubNub, Unsubscribe, UrbanAirship, UserHash
Constant Summary collapse
- VERSION =
"0.1.2"- @@mailer_sender =
nil- @@authentication_method =
nil- @@current_user_method =
nil- @@unsubscribable_notifications =
nil- @@apns_provider =
nil- @@connection_pool_size =
nil- @@connection_pool_timeout =
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
36 37 38 |
# File 'lib/notify_user.rb', line 36 def self.send_notification(type) type.camelize.constantize.new end |
.setup {|_self| ... } ⇒ Object
Used to set up NotifyUser from the initializer.
32 33 34 |
# File 'lib/notify_user.rb', line 32 def self.setup yield self end |