hummingbird-me/kitsu-server

View on GitHub
app/callbacks/library_event_callbacks.rb

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
class LibraryEventCallbacks < Callbacks
  # @param klass [Class] the class to hook the callbacks for
  def self.hook(klass)
    klass.after_update(self)
  end

  def after_update
    LibraryEventService.new(record).create_events!
  end
end