aboutsummaryrefslogtreecommitdiffstats
path: root/app/models/journey_pattern_control
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/journey_pattern_control')
-rw-r--r--app/models/journey_pattern_control/vehicle_journey.rb13
1 files changed, 13 insertions, 0 deletions
diff --git a/app/models/journey_pattern_control/vehicle_journey.rb b/app/models/journey_pattern_control/vehicle_journey.rb
new file mode 100644
index 000000000..a90c16138
--- /dev/null
+++ b/app/models/journey_pattern_control/vehicle_journey.rb
@@ -0,0 +1,13 @@
+module JourneyPatternControl
+ class VehicleJourney < ComplianceControl
+
+ @@default_criticity = :warning
+ @@default_code = "3-JourneyPattern-2"
+
+ after_initialize do
+ self.name = self.class.name
+ self.code = @@default_code
+ self.criticity = @@default_criticity
+ end
+ end
+end \ No newline at end of file