class Flapjack::Data::Notification

Public Class Methods

destroy_state(notification_id, st_id) click to toggle source
# File lib/flapjack/data/notification.rb, line 27
def self.destroy_state(notification_id, st_id)
  # won't be deleted if still referenced elsewhere -- see the State
  # before_destroy callback
  Flapjack::Data::State.intersect(:id => st_id).destroy_all
end