Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explicitly describe Account inheritance in Plutus models #109

Merged
merged 1 commit into from
Oct 31, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/models/plutus/asset.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ module Plutus
# @see http://en.wikipedia.org/wiki/Asset Assets
#
# @author Michael Bulat
class Asset < Account
class Asset < Plutus::Account

self.normal_credit_balance = false

Expand Down
2 changes: 1 addition & 1 deletion app/models/plutus/equity.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ module Plutus
# @see http://en.wikipedia.org/wiki/Equity_(finance) Equity
#
# @author Michael Bulat
class Equity < Account
class Equity < Plutus::Account

self.normal_credit_balance = true

Expand Down
2 changes: 1 addition & 1 deletion app/models/plutus/expense.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ module Plutus
# @see http://en.wikipedia.org/wiki/Expense Expenses
#
# @author Michael Bulat
class Expense < Account
class Expense < Plutus::Account

self.normal_credit_balance = false

Expand Down
2 changes: 1 addition & 1 deletion app/models/plutus/liability.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ module Plutus
# @see http://en.wikipedia.org/wiki/Liability_(financial_accounting) Liability
#
# @author Michael Bulat
class Liability < Account
class Liability < Plutus::Account

self.normal_credit_balance = true

Expand Down
2 changes: 1 addition & 1 deletion app/models/plutus/revenue.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ module Plutus
# @see http://en.wikipedia.org/wiki/Revenue Revenue
#
# @author Michael Bulat
class Revenue < Account
class Revenue < Plutus::Account

self.normal_credit_balance = true

Expand Down