Current section
Files
Jump to
Current section
Files
lib/nerves_hub_cli/api/org.ex
defmodule NervesHubCLI.API.Org do
@moduledoc false
@path "orgs"
@spec path(String.t()) :: String.t()
def path(org) when is_atom(org), do: to_string(org) |> path()
def path(org) when is_binary(org) do
Path.join(@path, org)
end
end