ex_idobata v0.3.0 ExIdobata.Hook.Endpoint

Endpoint structure of ExIdobata.

Link to this section Summary

Functions

Get a URL of idobata.io hook API.

Link to this section Types

Link to this type

room_uuid()

room_uuid() :: binary() | {:system, binary()} | :default

Link to this section Functions

Link to this function

url(room_uuid)

(since 0.1.0)
url(room_uuid()) :: binary()

Get a URL of idobata.io hook API.

  • room_uuid - UUID of a room of idobata.io

    • binary - use the binary as UUID
    • tuple of :system and binary (e.g., {:system, "ROOM_UUID"} - use value of the environment variable as UUID
    • :default - use value of default environemnt variable IDOBATA_HOOK_ROOM_UUID as UUID