Skip to content

Commit

Permalink
allow Guid set on recurring_donations create (#58)
Browse files Browse the repository at this point in the history
  • Loading branch information
joshcrews authored Mar 5, 2024
1 parent 17d9869 commit 3c6ec74
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/rock_rms/resources/recurring_donation.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ def create_recurring_donation(
start_date:,
summary: nil,
status: nil,
status_message: nil
status_message: nil,
guid: nil
)

options = {
Expand All @@ -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
Expand Down

0 comments on commit 3c6ec74

Please sign in to comment.