Module: Notifiable

Defined in:
lib/notifiable.rb,
lib/notifiable.rb,
lib/notifiable/app.rb,
lib/notifiable/engine.rb,
lib/notifiable/railtie.rb,
lib/notifiable/version.rb,
lib/notifiable/device_token.rb,
lib/notifiable/notification.rb,
lib/notifiable/notifier_base.rb,
lib/notifiable/notification_status.rb,
lib/generators/notifiable/install/install_generator.rb

Defined Under Namespace

Modules: Generators, Model Classes: App, DeviceToken, Engine, Notification, NotificationStatus, NotifierBase, Railtie

Constant Summary collapse

VERSION =
"0.29.0"
@@api_device_token_params =
[:token, :provider, :app_id, :locale, :name]
@@delivery_method =
:send
@@save_receipts =
true
@@notification_status_batch_size =
10000
@@notifier_classes =
{}

Class Method Summary collapse

Class Method Details

.configure {|_self| ... } ⇒ Object

Yields:

  • (_self)

Yield Parameters:

  • _self (Notifiable)

    the object that the method was called on



29
30
31
# File 'lib/notifiable.rb', line 29

def self.configure
  yield self
end