As a Developer
I need create a toggle resource action
So that I can toggle the Recommendation Type status on/off
Assumptions:
- I have a recommendation Type with a status field
- There will two action API
- The URL will be
/recommendations/activate/{rec_type_id}
- The URL will be
/recommendations/deactivate/{rec_type_id}
- This verb will be PUT
Acceptance Criteria:
Given I have an Activate resource
When visit `/recommendations/activate/{rec_type_id}`
Then I should have the ability to make recommendations against that type
Given I have an Deactivate resource
When visit `/recommendations/deactivate/{rec_type_id}`
Then I should not have the ability to make recommendations against that type
As a Developer
I need create a toggle resource action
So that I can toggle the Recommendation Type status on/off
Assumptions:
/recommendations/activate/{rec_type_id}/recommendations/deactivate/{rec_type_id}Acceptance Criteria: