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