From 7c2454beabf10b8e3648382a45cc2bf5fce62380 Mon Sep 17 00:00:00 2001 From: Ben Garcia <49890553+benngarcia@users.noreply.github.com> Date: Mon, 3 Oct 2022 23:22:23 -0700 Subject: [PATCH] Update README.md --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 73e596e..4c4edaa 100644 --- a/README.md +++ b/README.md @@ -9,6 +9,12 @@ class User # logic... end async :example_method + + or... + + async def example_method2 + # logic... + end end ``` This will give you access to ```user_instance.async_example_method```, which when called will use ActiveJob's API to create an ActiveJob with your backend of choice and call the example_method when the job is ran.