Sha256: 9df6abc86406b3550739c9ac619502dab421495176662f76e86b8e353f1b99f6
Contents?: true
Size: 959 Bytes
Versions: 4
Compression:
Stored size: 959 Bytes
Contents
require 'notifiable/active_record' require 'notifiable/app' require 'notifiable/notifiable_concern' require 'notifiable/railtie' if defined?(Rails) require 'notifiable/engine' require 'notifiable/notification' require 'notifiable/notification_status' require 'notifiable/batch' require 'notifiable/device_token' require 'notifiable/notifier_base' module Notifiable mattr_accessor :api_controller_class mattr_accessor :api_device_token_params @@api_device_token_params = [:device_id, :token, :provider, :app_id] mattr_accessor :user_class mattr_accessor :delivery_method @@delivery_method = :send mattr_accessor :notifier_classes @@notifier_classes = {} def self.configure yield self end def self.batch(app = Notifiable::App.first) b = Batch.new(app) yield(b) b.close end end module Notifiable module Model def notifiable(options = {}) include Notifiable::Concern end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
notifiable-rails-0.12.1 | lib/notifiable.rb |
notifiable-rails-0.12.0 | lib/notifiable.rb |
notifiable-rails-0.11.0 | lib/notifiable.rb |
notifiable-rails-0.8.0 | lib/notifiable.rb |