diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2015-10-30 19:29:42 +0100 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2015-10-30 19:30:31 +0100 |
commit | b07dd0f4c49ed42e1dd005118630da56228e4c9c (patch) | |
tree | 3ef74344916e3f802a34af52417fe1aeabbc6881 /lib | |
parent | 1b587d847f228eb474e1b33991b3fa5086725935 (diff) | |
download | norsk-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')
-rw-r--r-- | lib/config.rb | 14 |
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 |