summaryrefslogtreecommitdiffstats
path: root/lib/config.rb
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2015-10-30 19:29:42 +0100
committerHarald Eilertsen <haraldei@anduin.net>2015-10-30 19:30:31 +0100
commitb07dd0f4c49ed42e1dd005118630da56228e4c9c (patch)
tree3ef74344916e3f802a34af52417fe1aeabbc6881 /lib/config.rb
parent1b587d847f228eb474e1b33991b3fa5086725935 (diff)
downloadnorsk-urskog-registrations-b07dd0f4c49ed42e1dd005118630da56228e4c9c.tar.gz
norsk-urskog-registrations-b07dd0f4c49ed42e1dd005118630da56228e4c9c.tar.bz2
norsk-urskog-registrations-b07dd0f4c49ed42e1dd005118630da56228e4c9c.zip
Replace home grown config with sinatra-config-file
Diffstat (limited to 'lib/config.rb')
-rw-r--r--lib/config.rb14
1 files changed, 0 insertions, 14 deletions
diff --git a/lib/config.rb b/lib/config.rb
deleted file mode 100644
index bc42c34..0000000
--- a/lib/config.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-require 'yaml'
-
-class Config
- attr_reader :contact_email
-
- def self.load
- conf = YAML.load(IO.read("config.yml"))
- Config.new(conf)
- end
-
- def initialize(conf)
- @contact_email = conf['contact_email']
- end
-end