Current section
Files
Jump to
Current section
Files
lib/resources/endpoint.ex
defmodule Pollin.Resource.Endpoint do
@moduledoc """
Endpoint Resource
"""
@derive [Poison.Encoder]
defstruct [:id, :secret, :ttl, :created_at]
@type t :: %__MODULE__{
id: charlist,
secret: charlist,
ttl: integer,
created_at: integer
}
end