EndPointBlank.Commands.EndpointUpdate (end_point_blank_elixir v0.9.0)

Copy Markdown View Source

Registers application endpoints with the EndPointBlank API at startup.

Equivalent to EndPointBlank::Commands::EndpointUpdate in the Ruby gem.

Summary

Functions

Sends the endpoint list to the EndPointBlank API.

Functions

update(endpoints)

Sends the endpoint list to the EndPointBlank API.

Returns :ok, or :error after logging why. Never raises: this runs from the host application's start. When client_id or client_secret is not configured nothing is sent (sc-1469).