GcsSignedUrl.Client.load

You're seeing just the function load, go back to GcsSignedUrl.Client module for more information.

Specs

load(map() | String.t()) :: t()

Initialize GcsSignedUrl.Client with given map, or load a file if called with a path string.

Examples

iex> service_account = service_account_json_string |> Jason.decode!
iex> GcsSignedUrl.Client.load(service_account)
%GcsSignedUrl.Client{...}

iex> GcsSignedUrl.Client.load("/home/alexandrubagu/config/google.json")
%GcsSignedUrl.Client{...}