View Source ExTier.Api.Pull (ex_tier v0.11.1)

Link to this section Summary

Functions

Get all pricing plans

Get the latest plan versions

Link to this section Functions

@spec pull() :: {:ok, ExTier.Model.t()} | {:error, ExTier.Error.t()}

Get all pricing plans

{:ok, %ExTier.Model{}} = ExTier.pull()
@spec pull_latest() :: {:ok, ExTier.Model.t()} | {:error, ExTier.Error.t()}

Get the latest plan versions

{:ok, %ExTier.Model{}} = ExTier.pull_latest()