Class: Bullet::Notification::CounterCache

Inherits:
Base
  • Object
show all
Defined in:
lib/bullet/notification/counter_cache.rb

Instance Attribute Summary

Attributes inherited from Base

#associations, #base_class, #notifier, #path, #url

Instance Method Summary collapse

Methods inherited from Base

#body_with_caller, #call_stack_messages, #eql?, #hash, #initialize, #notification_data, #notify_inline, #notify_out_of_channel, #short_notice, #whoami

Constructor Details

This class inherits a constructor from Bullet::Notification::Base

Instance Method Details

#bodyObject



6
7
8
# File 'lib/bullet/notification/counter_cache.rb', line 6

def body
  klazz_associations_str
end

#titleObject



10
11
12
# File 'lib/bullet/notification/counter_cache.rb', line 10

def title
  'Need Counter Cache with Active Record size'
end