Commit Graph

9 Commits

Author SHA1 Message Date
32aaa29522 fix status, rename get_interior_ref_list_by_shop_id 2020-10-24 03:02:43 -04:00
1c2e01ed92 Add get_latest_interior_ref_list_by_shop_id 2020-10-20 01:14:19 -04:00
7c5edcf12c Remove old comment in cache.rs 2020-10-19 01:16:14 -04:00
36a6c38b41 Add list_shops function, improve error messages 2020-10-19 01:09:28 -04:00
e0f0f26943 Remove unneeded Sync and Send impls 2020-10-18 20:59:18 -04:00
6513b2903a Major refactor and clean up
Split out big lib.rs into separate modules for each endpoint.

Now using FFIResult in all functions requesting the API.

Added unit tests for all functions.

Abstracted file caching behavior into cache.rs. Uses temp files in tests
2020-10-18 20:51:37 -04:00
0aa3e64dc8 Add get and update shop methods 2020-10-18 02:32:16 -04:00
ae20df0a69 Make Init return bool result, clean up a bit 2020-10-17 19:31:30 -04:00
85e4fe7f20 Initial commit. Working get & post, needs cleanup 2020-10-12 20:19:48 -04:00