From c97817923dbb209b95ab090620b6a705acadea5f Mon Sep 17 00:00:00 2001 From: Hentioe Date: Tue, 27 Oct 2020 23:14:10 +0800 Subject: Add helper functions --- lib/azure_ex/helper.ex | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 lib/azure_ex/helper.ex 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 -- cgit v1.2.3