lib/ddr/events/ingestion_event.rb in ddr-models-2.6.2 vs lib/ddr/events/ingestion_event.rb in ddr-models-2.7.0.rc1
- old
+ new
@@ -1,12 +1,8 @@
-module Ddr
- module Events
- class IngestionEvent < Event
+module Ddr::Events
+ class IngestionEvent < Event
+ include PreservationEventBehavior
- include PreservationEventBehavior
-
- self.preservation_event_type = :ing
- self.description = "Object ingested into the repository"
-
- end
+ self.preservation_event_type = :ing
+ self.description = "Object ingested into the repository"
end
end