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 6dba1c4 commit 425686cCopy full SHA for 425686c
README.md
@@ -55,3 +55,18 @@ invitation = CirroIO::Client::GigInvitation.new(gig: gig)
55
56
invitation.bulk_create_with(filter, auto_accept: true) # by default auto_accept is false
57
```
58
+
59
+#### Creating Payouts for workers
60
61
+```ruby
62
+app_worker = CirroIO::Client::AppWorker.load(id: 1234)
63
64
+CirroIO::Client::Payout.create(
65
+ app_worker: app_worker,
66
+ amount: 100, # € 1.00
67
+ title: "Bonus for something",
68
+ description: "Description of the bonus.",
69
+ cost_center_key: "PROJECT-CODE",
70
+ billing_date: DateTime.now
71
+)
72
+```
0 commit comments