# `AshOban.Igniter`
[🔗](https://github.com/ash-project/ash_oban/blob/v0.8.0-rc.0/lib/igniter.ex#L6)

Codemods and utilities for resources that use `AshOban`.

# `add_new_trigger`

Adds the given code block to the resource's `triggers` block if there is no existing trigger with the given name

# `add_trigger`

Adds the given code block to the resource's `triggers` block

# `defines_trigger`

```elixir
@spec defines_trigger(Igniter.t(), Ash.Resource.t(), atom()) ::
  {Igniter.t(), true | false}
```

Returns true if the given resource defines a trigger with the provided name

---

*Consult [api-reference.md](api-reference.md) for complete listing*
