ash_json_api v0.12.0 AshJsonApi.Resource.Routes.Patch View Source
Link to this section Summary
Functions
A PATCH route to update a record
Link to this section Functions
A PATCH route to update a record
Examples
patch :default
Arguments
:action
- The action to call when this route is hit
Options
:route
- The path of the route The default value is"/:id"
.:primary?
- Whether or not this is the route that should be linked to by default when rendering links to this type of route The default value isfalse
.