Skip to content

Commit

Permalink
Fix references to :account vs :account_name
Browse files Browse the repository at this point in the history
This should have been in an earlier accepted pull request.
  • Loading branch information
rosskevin committed Apr 27, 2015
1 parent 70cc306 commit b624025
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -119,10 +119,10 @@ And here's the entry:
entry = Plutus::Entry.build(
:description => "Sold some widgets",
:debits => [
{:account => "Accounts Receivable", :amount => 50}],
{:account_name => "Accounts Receivable", :amount => 50}],
:credits => [
{:account => "Sales Revenue", :amount => 45},
{:account => "Sales Tax Payable", :amount => 5}])
{:account_name => "Sales Revenue", :amount => 45},
{:account_name => "Sales Tax Payable", :amount => 5}])
entry.save
```

Expand Down Expand Up @@ -244,9 +244,9 @@ Plutus is also compatible with the [Money](https://github.com/RubyMoney/money) g
entry = Plutus::Entry.build(
:description => "Order placed for widgets",
:debits => [
{:account => "Cash", :amount => money.amount}],
{:account_name => "Cash", :amount => money.amount}],
:credits => [
{:account => "Unearned Revenue", :amount => money.amount}])
{:account_name => "Unearned Revenue", :amount => money.amount}])
```

Multitenancy Support
Expand Down

0 comments on commit b624025

Please sign in to comment.