j-sm-n / black_thursday

Black Thursday is a system that is able to load, parse, search, and execute business intelligence queries against the data from a typical e-commerece business in Ruby.
0 stars 0 forks source link

Business Intelligence - Find total revenue for a single merchant #60

Closed jesse-spevack closed 8 years ago

jesse-spevack commented 8 years ago

Find the total revenue for a single merchant:

sa = SalesAnalyst.new

sa.revenue_by_merchant(merchant_id) #=> $

https://github.com/turingschool/curriculum/blob/master/source/projects/black_thursday/iteration_4.markdown