mirror of
https://github.com/ash-project/ash.git
synced 2024-09-20 05:23:03 +12:00
docs: inset code in set_attrbute docs (#745)
This commit is contained in:
parent
799a1d1dd3
commit
313ec74152
1 changed files with 4 additions and 4 deletions
|
@ -158,10 +158,10 @@ defmodule Ash.Resource.Change.Builtins do
|
|||
|
||||
## Examples
|
||||
|
||||
change set_attribute(:active, false)
|
||||
change set_attribute(:opened_at, &DateTime.utc_now/0)
|
||||
change set_attribute(:status, arg(:status))
|
||||
change set_attribute(:encrypted_data, arg(:data), set_when_nil?: false)
|
||||
change set_attribute(:active, false)
|
||||
change set_attribute(:opened_at, &DateTime.utc_now/0)
|
||||
change set_attribute(:status, arg(:status))
|
||||
change set_attribute(:encrypted_data, arg(:data), set_when_nil?: false)
|
||||
"""
|
||||
@spec set_attribute(
|
||||
relationship :: atom,
|
||||
|
|
Loading…
Reference in a new issue