Skip to content

Commit 911f11a

Browse files
committed
Document operation links
1 parent dd28d69 commit 911f11a

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -534,8 +534,9 @@ Callbacks can also be defined for `JSONAPI::OperationsProcessor` events:
534534
- `:remove_has_many_association_operation`: A `remove_has_many_association_operation`.
535535
- `:remove_has_one_association_operation`: A `remove_has_one_association_operation`.
536536

537-
The operation callbacks have access to two meta data hashes, `@operations_meta` and `@operation_meta`, the full list of
538-
`@operations`, each individual `@operation` and the `@result` variables.
537+
The operation callbacks have access to two meta data hashes, `@operations_meta` and `@operation_meta`, two links hashes,
538+
`@operations_links` and `@operation_links`, the full list of `@operations`, each individual `@operation` and the
539+
`@result` variables.
539540

540541
##### Custom `OperationsProcessor` Example to Return total_count in Meta
541542

0 commit comments

Comments
 (0)