summaryrefslogtreecommitdiff
path: root/lib/lsg/lsg.ex
diff options
context:
space:
mode:
Diffstat (limited to 'lib/lsg/lsg.ex')
-rw-r--r--lib/lsg/lsg.ex15
1 files changed, 15 insertions, 0 deletions
diff --git a/lib/lsg/lsg.ex b/lib/lsg/lsg.ex
new file mode 100644
index 0000000..dc0f641
--- /dev/null
+++ b/lib/lsg/lsg.ex
@@ -0,0 +1,15 @@
+defmodule LSG do
+
+ def data_path(suffix) do
+ Path.join(data_path(), suffix)
+ end
+
+ def data_path do
+ Application.get_env(:lsg, :data_path)
+ end
+
+ def version do
+ Application.spec(:lsg)[:vsn]
+ end
+
+end