Module: RunningCount::Callbacks

Extended by:
ActiveSupport::Concern
Defined in:
lib/running_count/callbacks.rb

Defined Under Namespace

Modules: ClassMethods

Instance Method Summary collapse

Instance Method Details

#enqueue_changesObject



8
9
10
# File 'lib/running_count/callbacks.rb', line 8

def enqueue_changes
  Counter.enqueue_changes(self, self.class._counter_data)
end

#enqueue_deletionObject



12
13
14
# File 'lib/running_count/callbacks.rb', line 12

def enqueue_deletion
  Counter.enqueue_deletion(self, self.class._counter_data)
end