# `Ltix.LaunchClaims.ResourceLink`
[🔗](https://github.com/DecoyLex/ltix/blob/main/lib/ltix/launch_claims/resource_link.ex#L1)

A placement of an LTI resource link within a context.

`id` is required and stable across launches for the same link.

## Examples

    iex> Ltix.LaunchClaims.ResourceLink.from_json(%{"id" => "rl-1", "title" => "Quiz"})
    {:ok, %Ltix.LaunchClaims.ResourceLink{id: "rl-1", title: "Quiz", description: nil}}

# `t`

```elixir
@type t() :: %Ltix.LaunchClaims.ResourceLink{
  description: binary(),
  id: binary(),
  title: binary()
}
```

# `from_json`

```elixir
@spec from_json(map()) :: {:ok, t()} | {:error, Exception.t()}
```

Parse a resource link claim from a JSON map.

## Examples

    iex> Ltix.LaunchClaims.ResourceLink.from_json(%{"id" => "rl-1"})
    {:ok, %Ltix.LaunchClaims.ResourceLink{id: "rl-1", title: nil, description: nil}}

---

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