Sha256: fef9796e1684baeb0a88348da34fdb4c1e792f547901bb045afd5fcc39b1633b

Contents?: true

Size: 283 Bytes

Versions: 12

Compression:

Stored size: 283 Bytes

Contents

module Notifiable
  class App < ActiveRecord::Base
    has_many :device_tokens, :class_name => 'Notifiable::DeviceToken', :dependent => :destroy
    has_many :notifications, :class_name => 'Notifiable::Notification', :dependent => :destroy
    
    serialize :configuration
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
notifiable-rails-0.16.0 lib/notifiable/app.rb
notifiable-rails-0.15.3 lib/notifiable/app.rb
notifiable-rails-0.15.2 lib/notifiable/app.rb
notifiable-rails-0.15.1 lib/notifiable/app.rb
notifiable-rails-0.15.0 lib/notifiable/app.rb
notifiable-rails-0.14.1 lib/notifiable/app.rb
notifiable-rails-0.14.0 lib/notifiable/app.rb
notifiable-rails-0.13.0 lib/notifiable/app.rb
notifiable-rails-0.12.1 lib/notifiable/app.rb
notifiable-rails-0.12.0 lib/notifiable/app.rb
notifiable-rails-0.11.0 lib/notifiable/app.rb
notifiable-rails-0.10.1 lib/notifiable/app.rb