Skip to content

Commit

Permalink
Add support for creating a financial account
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorbrooks committed Mar 13, 2024
1 parent fae57ad commit a24b38a
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions lib/rock_rms/resources/fund.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,15 @@ def find_fund(id)
Response::Fund.format(res)
end

def create_fund(name:, is_tax_deductible:)
options = {
'Name' => name,
'IsTaxDeductible' => is_tax_deductible,
}

post(fund_path, options)
end

private

def fund_path(id = nil)
Expand Down

0 comments on commit a24b38a

Please sign in to comment.