# `AshHooks.Info`
[🔗](https://github.com/baselabs/ash_hooks/blob/v3.3.0/lib/ash_hooks/info.ex#L1)

Reads compiled webhook declarations and delivery configuration.

# `inbound`

```elixir
@spec inbound(Ash.Resource.t(), atom()) :: AshHooks.Inbound.t() | nil
```

The inbound declaration for `provider`, if any.

# `outbound`

```elixir
@spec outbound(Ash.Resource.t(), atom()) :: AshHooks.Outbound.t() | nil
```

The outbound declaration for `event`, if any.

# `payload_attribute`

```elixir
@spec payload_attribute(module()) :: atom()
```

The configured exact-bytes payload attribute name on an
`AshHooks.OutboundDelivery` resource (default `:payload`).

# `webhooks`

```elixir
@spec webhooks(Ash.Resource.t()) :: [AshHooks.Inbound.t() | AshHooks.Outbound.t()]
```

All webhook entities (inbound + outbound) declared on `resource`.

# `writable_id?`

```elixir
@spec writable_id?(module()) :: boolean()
```

Returns whether the compiled ingest or dispatch action accepts a
caller-supplied `:id`.

---

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