lib/ddr/events/deletion_event.rb in ddr-models-2.6.2 vs lib/ddr/events/deletion_event.rb in ddr-models-2.7.0.rc1
- old
+ new
@@ -1,12 +1,8 @@
-module Ddr
- module Events
- class DeletionEvent < Event
+module Ddr::Events
+ class DeletionEvent < Event
+ include PreservationEventBehavior
- include PreservationEventBehavior
-
- self.description = "Object deleted"
- self.preservation_event_type = :del
-
- end
+ self.description = "Object deleted"
+ self.preservation_event_type = :del
end
end