ash_admin/dev/resources/tickets/api.ex

13 lines
231 B
Elixir
Raw Normal View History

2020-12-08 19:22:24 +13:00
defmodule Demo.Tickets.Api do
use Ash.Api
alias Demo.Tickets.{Comment, Customer, Representative, Ticket}
2020-12-08 19:22:24 +13:00
resources do
resource(Customer)
resource(Representative)
resource(Ticket)
resource(Comment)
2020-12-08 19:22:24 +13:00
end
end