aboutsummaryrefslogtreecommitdiffstats
path: root/app/models/chouette
diff options
context:
space:
mode:
authorcedricnjanga2017-11-23 12:13:01 +0100
committercedricnjanga2017-11-23 12:13:01 +0100
commit5900d4a0d401dcb5d2a6162047e74ab9b4bb0aef (patch)
treed228f19f4698385bfe8daa70de72a28b90c6ff34 /app/models/chouette
parentea27e90db9d3d3c8d02bdbce28bad2bd7e5aa8be (diff)
downloadchouette-core-5900d4a0d401dcb5d2a6162047e74ab9b4bb0aef.tar.bz2
Fix typos on class naming for objectid formatters
Diffstat (limited to 'app/models/chouette')
-rw-r--r--app/models/chouette/objectid_formatter/stif_codifligne.rb2
-rw-r--r--app/models/chouette/objectid_formatter/stif_netex.rb2
-rw-r--r--app/models/chouette/objectid_formatter/stif_reflex.rb2
3 files changed, 3 insertions, 3 deletions
diff --git a/app/models/chouette/objectid_formatter/stif_codifligne.rb b/app/models/chouette/objectid_formatter/stif_codifligne.rb
index 0624fc8a8..aaa07ed6f 100644
--- a/app/models/chouette/objectid_formatter/stif_codifligne.rb
+++ b/app/models/chouette/objectid_formatter/stif_codifligne.rb
@@ -1,6 +1,6 @@
module Chouette
module ObjectidFormatter
- class Chouette::ObjectidFormatter::StifCodifligne
+ class StifCodifligne
def before_validation(model)
# unused method in this context
end
diff --git a/app/models/chouette/objectid_formatter/stif_netex.rb b/app/models/chouette/objectid_formatter/stif_netex.rb
index 0256754bf..57d126983 100644
--- a/app/models/chouette/objectid_formatter/stif_netex.rb
+++ b/app/models/chouette/objectid_formatter/stif_netex.rb
@@ -1,6 +1,6 @@
module Chouette
module ObjectidFormatter
- class Chouette::ObjectidFormatter::StifNetex
+ class StifNetex
def before_validation(model)
model.attributes = {objectid: "__pending_id__#{SecureRandom.uuid}"} unless model.read_attribute(:objectid)
end
diff --git a/app/models/chouette/objectid_formatter/stif_reflex.rb b/app/models/chouette/objectid_formatter/stif_reflex.rb
index 5637f2806..e7e9f5611 100644
--- a/app/models/chouette/objectid_formatter/stif_reflex.rb
+++ b/app/models/chouette/objectid_formatter/stif_reflex.rb
@@ -1,6 +1,6 @@
module Chouette
module ObjectidFormatter
- class Chouette::ObjectidFormatter::StifReflex
+ class StifReflex
def before_validation(model)
# unused method in this context
end