ynab / ynab-sdk-ruby

YNAB API Client for Ruby
https://api.ynab.com
Apache License 2.0
65 stars 12 forks source link

Add support for creating accounts #59

Closed bradymholt closed 4 years ago

bradymholt commented 4 years ago

This PR adds support for the new POST /budgets/{budget_id}/accounts endpoint.

Example usage:

ynab.accounts.create_account(budget_id, {
  account: {
    name: 'New Checking Account',
    type: 'checking',
    balance: 215000
  }
})