summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHentioe <me@bluerain.io>2020-10-27 23:14:10 +0800
committerHentioe <me@bluerain.io>2020-10-27 23:14:10 +0800
commitc97817923dbb209b95ab090620b6a705acadea5f (patch)
tree0c7ad71bc73d0f17927bdb39842f21f76e3a674c
parentFix module name (diff)
Add helper functions
-rw-r--r--lib/azure_ex/helper.ex8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/azure_ex/helper.ex b/lib/azure_ex/helper.ex
new file mode 100644
index 0000000..5e9242b
--- /dev/null
+++ b/lib/azure_ex/helper.ex
@@ -0,0 +1,8 @@
+defmodule AzureEx.Helper do
+ @moduledoc false
+
+ @spec build_api_version(integer, integer, integer) :: [{:"api-version", binary}]
+ def build_api_version(year, month, day) do
+ ["api-version": "#{year}-#{month}-#{day}"]
+ end
+end