A local gym has asked you to build a piece of software to help them to manage memberships, and register members for classes.
You might try to create a Ruby class named Class
- this is a reserved word in Ruby, so you will have to name your class GymClass
, or similar.
As a gym manager
I want to manage the list of members
So that I am storing up-to-date information about members
Acceptance Criteria: Gym managers should be able to create members
DONE!!!!
Acceptance Criteria: Gym managers should be able to edit members
DONE!!!!
As a gym manager
I want to manage the list of classes
So that I have up to date information about what classes are available
Acceptance Criteria: Gym managers should be able to create classes
DONE!!!!
Acceptance Criteria: Gym managers should be able to delete classes
DONE!!!!
As a gym manager
I want to be able to add a user to a class
So that I can book their place
Acceptance Criteria: Gym managers should be able to assign members to classes. DONE!!!
As a gym manager
I want to view all members assigned to a class
So that I can see which classes are going to be busy
Acceptance Criteria: Gym managers should be able to view a list of classes, and see the members that will be attending that class. DONE!!!!!
As a gym manager
I want to be able to assign a maximum capacity to a class
So that the class can't be over-booked
Acceptance Criteria: Gym managers should be able to give each class a maximum capacity
Acceptance Criteria: Gym managers should not be able to assign members to a class that is already full. (At capacity)
As a gym manager
I want to be able to mark members as having "Premium Membership"
So that I can maximise revenue
Acceptance Criteria: Gym managers will be able to assign premium membership to members
ACceptance Criteria: Gym managers will be able to assign a time to a class
Acceptance Criteria: Gym managers will only be able to assign premium members to classes that take place during peak hours. (7-9am, 5-8pm)