AELSchauer / turing-rails_engine_api

1 stars 0 forks source link

adds BI endpoint for merchant selling most items #98

Closed alfosco closed 7 years ago

alfosco commented 7 years ago

Adds business intelligence endpoint 'GET /api/v1/merchants/most_items?quantity=x' that returns the top x merchants ranked by total number of items sold. -adds custom route 'most_items' -adds most_items controller to merchants -adds custom method 'most_items' to merchant model -all tests/spec harness passing