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

Bank Account Wave 3 #60

Open
wants to merge 17 commits into
base: ald/master
Choose a base branch
from
Open

Bank Account Wave 3 #60

wants to merge 17 commits into from

Conversation

Dreedle
Copy link

@Dreedle Dreedle commented Oct 9, 2015

Completed primary requirements for Wave 3.
Went back to Wave 2 options and created a method to pair accounts with owners.
Fixed a mistake from previous Waves: forgetting to add two zeroes to the ends of the values so that the units are pennies, not dollars.

@@ -14,13 +13,14 @@ def initialize(account_id, balance, open_date, owner = nil)
@balance = balance.to_i
@open_date = open_date
@owner = owner
@withdrawalfee = 0
@@account_list.push(self)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

WHOA SLICK

@kariabancroft
Copy link

Nice job using the inheritance functionality to reuse pieces of functionality across the different types of accounts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants