aboutsummaryrefslogtreecommitdiffstats
path: root/lib/postcodes-norway
diff options
context:
space:
mode:
Diffstat (limited to 'lib/postcodes-norway')
-rw-r--r--lib/postcodes-norway/railtie.rb11
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/postcodes-norway/railtie.rb b/lib/postcodes-norway/railtie.rb
new file mode 100644
index 0000000..19cd3e7
--- /dev/null
+++ b/lib/postcodes-norway/railtie.rb
@@ -0,0 +1,11 @@
+require 'norwegian-postcodes'
+require 'rails'
+
+module PostCodes
+ class Railtie < Rails::Railtie
+ railtie_name :norwegian_postcodes
+ rake_tasks do
+ load 'tasks/norwegian-postcodes.rake'
+ end
+ end
+end \ No newline at end of file