AELSchauer / turing-rails_engine_api

1 stars 0 forks source link

adds find/find all record endpoints for items #77

Closed alfosco closed 7 years ago

alfosco commented 7 years ago

-adds functionality to find a single or all items by it's attributes -adds 'items' custom routes for find and find all -adds find controller for items -all tests and spec harness passing

alfosco commented 7 years ago

I forget to check out a new branch when starting the item relationship endpoints so I just pushed up on this PR for that feature. So now this PR includes the features for both item record and relationship endpoints.

For items relationship endpoints: -adds relationship endpoints for items/invoice_items and items/merchant -adds 'invoice_items' controller and 'merchant' controller for 'items' -adds custom routes for items/invoice_items and items/merchant -all tests and spec harness pass