ash_admin/dev/resources/tickets/api.ex
2021-03-22 02:41:22 -04:00

13 lines
250 B
Elixir

defmodule Demo.Tickets.Api do
@moduledoc false
use Ash.Api
alias Demo.Tickets.{Comment, Customer, Representative, Ticket}
resources do
resource(Customer)
resource(Representative)
resource(Ticket)
resource(Comment)
end
end