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