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

[3pt] Create a MusicAlbum class (MEMBER #2) #8

Closed
VitorGuedesMadeira opened this issue Oct 10, 2022 · 0 comments · Fixed by #28
Closed

[3pt] Create a MusicAlbum class (MEMBER #2) #8

VitorGuedesMadeira opened this issue Oct 10, 2022 · 0 comments · Fixed by #28

Comments

@VitorGuedesMadeira
Copy link
Owner

VitorGuedesMadeira commented Oct 10, 2022

All MusicAlbum class properties visible in the diagram should be defined and set up in the constructor method.
Implement methods:

can_be_archived?() in the MusicAlbum class

  • should override the method from the parent class

  • should return true if parent's method returns true AND if on_spotify equals true

  • otherwise, it should return false

The following options should be available

  • List all music albums
  • Add a music album
@VitorGuedesMadeira VitorGuedesMadeira changed the title [Xpt] Title (MEMBER #1) [3pt] Create a MusicAlbum class (MEMBER #1) Oct 10, 2022
@VitorGuedesMadeira VitorGuedesMadeira changed the title [3pt] Create a MusicAlbum class (MEMBER #1) [3pt] Create a MusicAlbum class (MEMBER #2) Oct 10, 2022
@VitorGuedesMadeira VitorGuedesMadeira self-assigned this Oct 10, 2022
This was linked to pull requests Oct 10, 2022
This was unlinked from pull requests Oct 10, 2022
@VitorGuedesMadeira VitorGuedesMadeira linked a pull request Oct 10, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

1 participant