View Source ExTier.Api.Phase (ex_tier v0.11.0)

Link to this section Summary

Functions

Get the current phase an organization is on

Link to this section Types

@type phase_params() :: %{org: String.t()}

Link to this section Functions

@spec phase(phase_params()) ::
  {:ok, ExTier.CurrentPhase.t()} | {:error, ExTier.Error.t()}

Get the current phase an organization is on

{:ok, %ExTier.CurrentPhase{}} = ExTier.phase(%{org: "org:org_id"})