From 3c6ec745ce745581a3812ecc1d92f21ae9b31565 Mon Sep 17 00:00:00 2001 From: Josh Crews Date: Tue, 5 Mar 2024 15:25:38 -0600 Subject: [PATCH] allow Guid set on recurring_donations create (#58) --- lib/rock_rms/resources/recurring_donation.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/rock_rms/resources/recurring_donation.rb b/lib/rock_rms/resources/recurring_donation.rb index 1490f88..bf840bb 100644 --- a/lib/rock_rms/resources/recurring_donation.rb +++ b/lib/rock_rms/resources/recurring_donation.rb @@ -27,7 +27,8 @@ def create_recurring_donation( start_date:, summary: nil, status: nil, - status_message: nil + status_message: nil, + guid: nil ) options = { @@ -49,6 +50,7 @@ def create_recurring_donation( } options['EndDate'] = end_date if end_date + options['Guid'] = guid if guid post(recurring_donation_path, options) end