Current section
Files
Jump to
Current section
Files
lib/resources/callback.ex
defmodule Pollin.Resource.Callback do
@moduledoc """
Callback Resource
"""
@derive [Poison.Encoder]
defstruct [:id, :request, :status, :created_at]
@type t :: %__MODULE__{
id: charlist,
request: any, # Note: Keep it any to allow all types instead of Request strt
status: charlist,
created_at: integer
}
end