lgromanowski / acme-plugin

:lock_with_ink_pen: ACME protocol plugin for Ruby on Rails applications
https://rubygems.org/gems/acme_plugin
MIT License
186 stars 30 forks source link

Namespaced config #27

Closed jphenow closed 8 years ago

jphenow commented 8 years ago

Was using CONFIG global without namespacing which seems dangerous. This converts config things to a namespaced method on the top module as an Open Struct. This would also make it a bit simpler to redo the config, in the future, in favor of a fancier class that validates or has defaults.

lgromanowski commented 8 years ago

Merged, thanks!