We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c055f53 commit 2874f26Copy full SHA for 2874f26
README.markdown
@@ -57,6 +57,23 @@ ThisIsTheClass:
57
58
Only classes that are descended from `ActiveJob::Base` will be wrapped
59
60
+### Job Classes With Named Args
61
+
62
+If you have a job class that uses named arguments you can specify that. `args`
63
+should be a hash nested in the array and you need to add the named_args key.
64
65
+```yaml
66
+simple_job:
67
+ every: "30s"
68
+ queue: "simple"
69
+ class: "SimpleJob"
70
+ args:
71
+ - foo: 1
72
+ bar: 2
73
+ description: "It's a simple job."
74
+ named_args: true
75
+```
76
77
## Credits
78
79
- Written by [@JustinAiken](https://www.github.com/JustinAiken)
0 commit comments