Skip to content

Conversation

@meliquintero
Copy link

Finally!!

Melissa Jimison added 30 commits March 14, 2016 12:17
…tion of FarMar::Vendor instances that are associated with the market by the market_id field
…et instance that is associated with this vendor using the FarMar::Vendor market_id field
…um of all of the vendor's sales (in cents)
…urns all of the vendors with the given market_id. Created tests for it. Refactored some methods here and there
…urns all of the vendors with the given market_id. FOR REAL
… of FarMar::Sale instances that are associated using the FarMar::Sale product_id field. tested it too
…sociated with this sale using the FarMar::Sale vendor_id field. Tests done too
…s the FarMar::Product instance that is associated with this sale using the FarMar::Sale product_id field
…urns the number of times this product has been sold
…) method that returns a collection of FarMar::Sale objects where the purchase time is between the two times given as arguments.
…lection of FarMar::Product instances that are associated to the market through the FarMar::Vendor class. Refactored here and there.
…ste lat method, and change the max_by for a min_by
…ns the top n vendor instances ranked by total revenue
…n) returns the top n vendor instances ranked by total number of items sold
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant