README.md in readymade-0.3.5 vs README.md in readymade-0.3.6
- old
+ new
@@ -144,10 +144,12 @@
end
...
end
Orders::Actions::SendNotifications.call_async(order: order)
+Orders::Actions::SendNotifications.call_async!(order: order, queue_as: :my_queue) # job will be executed in 'my_queue'
+# Important! Make sure your sidekiq configuration has 'my_queue' queue
```
### `.call!` - raise error unless response is success
(action must return Readymade::Response.new(:success))
@@ -182,9 +184,10 @@
end
...
end
Orders::Actions::SendNotifications.call_async!(order: order) # job will be failed
+
```
### Readymade::Operation
Provides set of help methods like: `build_form`, `form_valid?`, `validation_fail`, `save_record`, etc.