Closed Scott-Borecki closed 3 years ago
GET /api/v1/gyms/:id
POST /api/v1/users/:user_id/gyms/:gym_id/gym_members
DELETE /api/v1/users/:user_id/gyms/:gym_id
POST /api/v1/users/:user_id/gyms/:gym_id/events
GET /api/v1/users/:user_id/gyms/:gym_id/events/new
POST /api/v1/users/:user_id/friendships
json_error_response
json-apiserializer
Awesome work!
What I Did:
GET /api/v1/gyms/:id
POST /api/v1/users/:user_id/gyms/:gym_id/gym_members
DELETE /api/v1/users/:user_id/gyms/:gym_id
POST /api/v1/users/:user_id/gyms/:gym_id/events
GET /api/v1/users/:user_id/gyms/:gym_id/events/new
POST /api/v1/users/:user_id/friendships
Road Blocks
Test Coverage
json_error_response
method yet)json-apiserializer
gem; however, we should consider adding tests for the serializers.Questions/Notes: