fake_shopify 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/README.md +72 -0
- data/Rakefile +16 -0
- data/lib/fake_shopify.rb +13 -0
- data/lib/fake_shopify/bootable.rb +18 -0
- data/lib/fake_shopify/configuration.rb +11 -0
- data/lib/fake_shopify/fixtures/2019-04/analytics/report/create.json +9 -0
- data/lib/fake_shopify/fixtures/2019-04/analytics/report/destroy.json +1 -0
- data/lib/fake_shopify/fixtures/2019-04/analytics/report/index.json +18 -0
- data/lib/fake_shopify/fixtures/2019-04/analytics/report/show.json +9 -0
- data/lib/fake_shopify/fixtures/2019-04/analytics/report/update.json +9 -0
- data/lib/fake_shopify/fixtures/2019-04/billing/application_charge/activate.json +15 -0
- data/lib/fake_shopify/fixtures/2019-04/billing/application_charge/create.json +16 -0
- data/lib/fake_shopify/fixtures/2019-04/billing/application_charge/index.json +43 -0
- data/lib/fake_shopify/fixtures/2019-04/billing/application_charge/show.json +15 -0
- data/lib/fake_shopify/fixtures/2019-04/billing/application_credit/create.json +8 -0
- data/lib/fake_shopify/fixtures/2019-04/billing/application_credit/index.json +10 -0
- data/lib/fake_shopify/fixtures/2019-04/billing/application_credit/show.json +8 -0
- data/lib/fake_shopify/fixtures/2019-04/billing/recurring_application_charges/activate.json +19 -0
- data/lib/fake_shopify/fixtures/2019-04/billing/recurring_application_charges/create.json +20 -0
- data/lib/fake_shopify/fixtures/2019-04/billing/recurring_application_charges/customize.json +24 -0
- data/lib/fake_shopify/fixtures/2019-04/billing/recurring_application_charges/destroy.json +1 -0
- data/lib/fake_shopify/fixtures/2019-04/billing/recurring_application_charges/index.json +21 -0
- data/lib/fake_shopify/fixtures/2019-04/billing/recurring_application_charges/show.json +20 -0
- data/lib/fake_shopify/fixtures/2019-04/billing/usage_charge/create.json +12 -0
- data/lib/fake_shopify/fixtures/2019-04/billing/usage_charge/index.json +14 -0
- data/lib/fake_shopify/fixtures/2019-04/billing/usage_charge/show.json +12 -0
- data/lib/fake_shopify/fixtures/2019-04/customers/customer/account_activation_url.json +3 -0
- data/lib/fake_shopify/fixtures/2019-04/customers/customer/count.json +3 -0
- data/lib/fake_shopify/fixtures/2019-04/customers/customer/create.json +67 -0
- data/lib/fake_shopify/fixtures/2019-04/customers/customer/destroy.json +1 -0
- data/lib/fake_shopify/fixtures/2019-04/customers/customer/index.json +69 -0
- data/lib/fake_shopify/fixtures/2019-04/customers/customer/search.json +69 -0
- data/lib/fake_shopify/fixtures/2019-04/customers/customer/send_invite.json +9 -0
- data/lib/fake_shopify/fixtures/2019-04/customers/customer/show.json +67 -0
- data/lib/fake_shopify/fixtures/2019-04/customers/customer/update.json +67 -0
- data/lib/fake_shopify/fixtures/2019-04/customers/customer_address/create.json +21 -0
- data/lib/fake_shopify/fixtures/2019-04/customers/customer_address/default.json +21 -0
- data/lib/fake_shopify/fixtures/2019-04/customers/customer_address/destroy.json +1 -0
- data/lib/fake_shopify/fixtures/2019-04/customers/customer_address/index.json +23 -0
- data/lib/fake_shopify/fixtures/2019-04/customers/customer_address/set.json +1 -0
- data/lib/fake_shopify/fixtures/2019-04/customers/customer_address/show.json +21 -0
- data/lib/fake_shopify/fixtures/2019-04/customers/customer_address/update.json +21 -0
- data/lib/fake_shopify/fixtures/2019-04/customers/customer_saved_search/count.json +3 -0
- data/lib/fake_shopify/fixtures/2019-04/customers/customer_saved_search/create.json +9 -0
- data/lib/fake_shopify/fixtures/2019-04/customers/customer_saved_search/destroy.json +1 -0
- data/lib/fake_shopify/fixtures/2019-04/customers/customer_saved_search/index.json +25 -0
- data/lib/fake_shopify/fixtures/2019-04/customers/customer_saved_search/other.json +69 -0
- data/lib/fake_shopify/fixtures/2019-04/customers/customer_saved_search/show.json +9 -0
- data/lib/fake_shopify/fixtures/2019-04/customers/customer_saved_search/update.json +9 -0
- data/lib/fake_shopify/fixtures/2019-04/discounts/discount_codes/batch_create.json +14 -0
- data/lib/fake_shopify/fixtures/2019-04/discounts/discount_codes/batch_discount_codes_index.json +19 -0
- data/lib/fake_shopify/fixtures/2019-04/discounts/discount_codes/batch_show.json +14 -0
- data/lib/fake_shopify/fixtures/2019-04/discounts/discount_codes/create.json +10 -0
- data/lib/fake_shopify/fixtures/2019-04/discounts/discount_codes/destroy.json +1 -0
- data/lib/fake_shopify/fixtures/2019-04/discounts/discount_codes/index.json +12 -0
- data/lib/fake_shopify/fixtures/2019-04/discounts/discount_codes/lookup.json +1 -0
- data/lib/fake_shopify/fixtures/2019-04/discounts/discount_codes/show.json +10 -0
- data/lib/fake_shopify/fixtures/2019-04/discounts/discount_codes/update.json +10 -0
- data/lib/fake_shopify/fixtures/2019-04/discounts/price_rules/count.json +3 -0
- data/lib/fake_shopify/fixtures/2019-04/discounts/price_rules/create.json +23 -0
- data/lib/fake_shopify/fixtures/2019-04/discounts/price_rules/destroy.json +1 -0
- data/lib/fake_shopify/fixtures/2019-04/discounts/price_rules/index.json +38 -0
- data/lib/fake_shopify/fixtures/2019-04/discounts/price_rules/show.json +36 -0
- data/lib/fake_shopify/fixtures/2019-04/discounts/price_rules/update.json +36 -0
- data/lib/fake_shopify/fixtures/2019-04/events/events/count.json +3 -0
- data/lib/fake_shopify/fixtures/2019-04/events/events/index.json +50 -0
- data/lib/fake_shopify/fixtures/2019-04/events/events/show.json +17 -0
- data/lib/fake_shopify/fixtures/2019-04/events/webhooks/count.json +3 -0
- data/lib/fake_shopify/fixtures/2019-04/events/webhooks/create.json +14 -0
- data/lib/fake_shopify/fixtures/2019-04/events/webhooks/destroy.json +1 -0
- data/lib/fake_shopify/fixtures/2019-04/events/webhooks/index.json +26 -0
- data/lib/fake_shopify/fixtures/2019-04/events/webhooks/show.json +14 -0
- data/lib/fake_shopify/fixtures/2019-04/events/webhooks/update.json +14 -0
- data/lib/fake_shopify/fixtures/2019-04/inventory/inventory_items/index.json +46 -0
- data/lib/fake_shopify/fixtures/2019-04/inventory/inventory_items/show.json +16 -0
- data/lib/fake_shopify/fixtures/2019-04/inventory/inventory_items/update.json +16 -0
- data/lib/fake_shopify/fixtures/2019-04/inventory/inventory_levels/adjust.json +9 -0
- data/lib/fake_shopify/fixtures/2019-04/inventory/inventory_levels/connect.json +9 -0
- data/lib/fake_shopify/fixtures/2019-04/inventory/inventory_levels/destroy.json +1 -0
- data/lib/fake_shopify/fixtures/2019-04/inventory/inventory_levels/index.json +32 -0
- data/lib/fake_shopify/fixtures/2019-04/inventory/inventory_levels/set.json +9 -0
- data/lib/fake_shopify/fixtures/2019-04/inventory/locations/count.json +3 -0
- data/lib/fake_shopify/fixtures/2019-04/inventory/locations/index.json +99 -0
- data/lib/fake_shopify/fixtures/2019-04/inventory/locations/inventory_levels.json +32 -0
- data/lib/fake_shopify/fixtures/2019-04/inventory/locations/show.json +21 -0
- data/lib/fake_shopify/fixtures/2019-04/marketing_event/marketing_events/count.json +3 -0
- data/lib/fake_shopify/fixtures/2019-04/marketing_event/marketing_events/create.json +12 -0
- data/lib/fake_shopify/fixtures/2019-04/marketing_event/marketing_events/destroy.json +1 -0
- data/lib/fake_shopify/fixtures/2019-04/marketing_event/marketing_events/engagements.json +64 -0
- data/lib/fake_shopify/fixtures/2019-04/marketing_event/marketing_events/index.json +28 -0
- data/lib/fake_shopify/fixtures/2019-04/marketing_event/marketing_events/show.json +26 -0
- data/lib/fake_shopify/fixtures/2019-04/marketing_event/marketing_events/update.json +17 -0
- data/lib/fake_shopify/fixtures/2019-04/metafield/metafields/count.json +3 -0
- data/lib/fake_shopify/fixtures/2019-04/metafield/metafields/create.json +15 -0
- data/lib/fake_shopify/fixtures/2019-04/metafield/metafields/destroy.json +1 -0
- data/lib/fake_shopify/fixtures/2019-04/metafield/metafields/index.json +17 -0
- data/lib/fake_shopify/fixtures/2019-04/metafield/metafields/show.json +15 -0
- data/lib/fake_shopify/fixtures/2019-04/metafield/metafields/update.json +15 -0
- data/lib/fake_shopify/fixtures/2019-04/online_store/articles/authors.json +8 -0
- data/lib/fake_shopify/fixtures/2019-04/online_store/articles/count.json +3 -0
- data/lib/fake_shopify/fixtures/2019-04/online_store/articles/create.json +18 -0
- data/lib/fake_shopify/fixtures/2019-04/online_store/articles/destroy.json +1 -0
- data/lib/fake_shopify/fixtures/2019-04/online_store/articles/index.json +75 -0
- data/lib/fake_shopify/fixtures/2019-04/online_store/articles/show.json +25 -0
- data/lib/fake_shopify/fixtures/2019-04/online_store/articles/tags.json +6 -0
- data/lib/fake_shopify/fixtures/2019-04/online_store/articles/update.json +25 -0
- data/lib/fake_shopify/fixtures/2019-04/online_store/assets/destroy.json +3 -0
- data/lib/fake_shopify/fixtures/2019-04/online_store/assets/index.json +247 -0
- data/lib/fake_shopify/fixtures/2019-04/online_store/assets/show.json +12 -0
- data/lib/fake_shopify/fixtures/2019-04/online_store/assets/update.json +11 -0
- data/lib/fake_shopify/fixtures/2019-04/online_store/blogs/count.json +3 -0
- data/lib/fake_shopify/fixtures/2019-04/online_store/blogs/create.json +15 -0
- data/lib/fake_shopify/fixtures/2019-04/online_store/blogs/destroy.json +1 -0
- data/lib/fake_shopify/fixtures/2019-04/online_store/blogs/index.json +30 -0
- data/lib/fake_shopify/fixtures/2019-04/online_store/blogs/show.json +15 -0
- data/lib/fake_shopify/fixtures/2019-04/online_store/blogs/update.json +15 -0
- data/lib/fake_shopify/fixtures/2019-04/online_store/comments/approve.json +15 -0
- data/lib/fake_shopify/fixtures/2019-04/online_store/comments/count.json +3 -0
- data/lib/fake_shopify/fixtures/2019-04/online_store/comments/create.json +17 -0
- data/lib/fake_shopify/fixtures/2019-04/online_store/comments/destroy.json +1 -0
- data/lib/fake_shopify/fixtures/2019-04/online_store/comments/index.json +34 -0
- data/lib/fake_shopify/fixtures/2019-04/online_store/comments/not_spam.json +15 -0
- data/lib/fake_shopify/fixtures/2019-04/online_store/comments/remove.json +15 -0
- data/lib/fake_shopify/fixtures/2019-04/online_store/comments/restore.json +15 -0
- data/lib/fake_shopify/fixtures/2019-04/online_store/comments/show.json +17 -0
- data/lib/fake_shopify/fixtures/2019-04/online_store/comments/spam.json +15 -0
- data/lib/fake_shopify/fixtures/2019-04/online_store/comments/update.json +17 -0
- data/lib/fake_shopify/fixtures/2019-04/online_store/pages/count.json +3 -0
- data/lib/fake_shopify/fixtures/2019-04/online_store/pages/create.json +15 -0
- data/lib/fake_shopify/fixtures/2019-04/online_store/pages/destroy.json +1 -0
- data/lib/fake_shopify/fixtures/2019-04/online_store/pages/index.json +56 -0
- data/lib/fake_shopify/fixtures/2019-04/online_store/pages/show.json +15 -0
- data/lib/fake_shopify/fixtures/2019-04/online_store/pages/update.json +15 -0
- data/lib/fake_shopify/fixtures/2019-04/online_store/redirects/count.json +3 -0
- data/lib/fake_shopify/fixtures/2019-04/online_store/redirects/create.json +7 -0
- data/lib/fake_shopify/fixtures/2019-04/online_store/redirects/destroy.json +1 -0
- data/lib/fake_shopify/fixtures/2019-04/online_store/redirects/index.json +19 -0
- data/lib/fake_shopify/fixtures/2019-04/online_store/redirects/show.json +7 -0
- data/lib/fake_shopify/fixtures/2019-04/online_store/redirects/update.json +7 -0
- data/lib/fake_shopify/fixtures/2019-04/online_store/script_tags/count.json +3 -0
- data/lib/fake_shopify/fixtures/2019-04/online_store/script_tags/create.json +10 -0
- data/lib/fake_shopify/fixtures/2019-04/online_store/script_tags/destroy.json +1 -0
- data/lib/fake_shopify/fixtures/2019-04/online_store/script_tags/index.json +12 -0
- data/lib/fake_shopify/fixtures/2019-04/online_store/script_tags/show.json +10 -0
- data/lib/fake_shopify/fixtures/2019-04/online_store/script_tags/update.json +10 -0
- data/lib/fake_shopify/fixtures/2019-04/online_store/themes/create.json +13 -0
- data/lib/fake_shopify/fixtures/2019-04/online_store/themes/destroy.json +11 -0
- data/lib/fake_shopify/fixtures/2019-04/online_store/themes/index.json +37 -0
- data/lib/fake_shopify/fixtures/2019-04/online_store/themes/show.json +13 -0
- data/lib/fake_shopify/fixtures/2019-04/online_store/themes/update.json +13 -0
- data/lib/fake_shopify/fixtures/2019-04/orders/checkouts/count.json +3 -0
- data/lib/fake_shopify/fixtures/2019-04/orders/checkouts/index.json +365 -0
- data/lib/fake_shopify/fixtures/2019-04/orders/draft_orders/complete.json +139 -0
- data/lib/fake_shopify/fixtures/2019-04/orders/draft_orders/count.json +3 -0
- data/lib/fake_shopify/fixtures/2019-04/orders/draft_orders/create.json +75 -0
- data/lib/fake_shopify/fixtures/2019-04/orders/draft_orders/destroy.json +1 -0
- data/lib/fake_shopify/fixtures/2019-04/orders/draft_orders/index.json +622 -0
- data/lib/fake_shopify/fixtures/2019-04/orders/draft_orders/send_invoice.json +11 -0
- data/lib/fake_shopify/fixtures/2019-04/orders/draft_orders/show.json +139 -0
- data/lib/fake_shopify/fixtures/2019-04/orders/draft_orders/update.json +139 -0
- data/lib/fake_shopify/fixtures/2019-04/orders/orders/cancel.json +820 -0
- data/lib/fake_shopify/fixtures/2019-04/orders/orders/close.json +819 -0
- data/lib/fake_shopify/fixtures/2019-04/orders/orders/count.json +3 -0
- data/lib/fake_shopify/fixtures/2019-04/orders/orders/create.json +171 -0
- data/lib/fake_shopify/fixtures/2019-04/orders/orders/destroy.json +1 -0
- data/lib/fake_shopify/fixtures/2019-04/orders/orders/index.json +821 -0
- data/lib/fake_shopify/fixtures/2019-04/orders/orders/open.json +819 -0
- data/lib/fake_shopify/fixtures/2019-04/orders/orders/show.json +9 -0
- data/lib/fake_shopify/fixtures/2019-04/orders/orders/update.json +819 -0
- data/lib/fake_shopify/fixtures/2019-04/orders/refunds/calculate.json +35 -0
- data/lib/fake_shopify/fixtures/2019-04/orders/refunds/create.json +130 -0
- data/lib/fake_shopify/fixtures/2019-04/orders/refunds/index.json +232 -0
- data/lib/fake_shopify/fixtures/2019-04/orders/refunds/show.json +230 -0
- data/lib/fake_shopify/fixtures/2019-04/orders/risks/create.json +14 -0
- data/lib/fake_shopify/fixtures/2019-04/orders/risks/destroy.json +1 -0
- data/lib/fake_shopify/fixtures/2019-04/orders/risks/index.json +28 -0
- data/lib/fake_shopify/fixtures/2019-04/orders/risks/show.json +14 -0
- data/lib/fake_shopify/fixtures/2019-04/orders/risks/update.json +14 -0
- data/lib/fake_shopify/fixtures/2019-04/orders/transactions/count.json +3 -0
- data/lib/fake_shopify/fixtures/2019-04/orders/transactions/create.json +25 -0
- data/lib/fake_shopify/fixtures/2019-04/orders/transactions/index.json +83 -0
- data/lib/fake_shopify/fixtures/2019-04/orders/transactions/show.json +35 -0
- data/lib/fake_shopify/fixtures/2019-04/plus/gift_cards/count.json +3 -0
- data/lib/fake_shopify/fixtures/2019-04/plus/gift_cards/create.json +21 -0
- data/lib/fake_shopify/fixtures/2019-04/plus/gift_cards/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2019-04/plus/gift_cards/disable.json +20 -0
- data/lib/fake_shopify/fixtures/2019-04/plus/gift_cards/index.json +58 -0
- data/lib/fake_shopify/fixtures/2019-04/plus/gift_cards/search.json +22 -0
- data/lib/fake_shopify/fixtures/2019-04/plus/gift_cards/show.json +20 -0
- data/lib/fake_shopify/fixtures/2019-04/plus/gift_cards/update.json +20 -0
- data/lib/fake_shopify/fixtures/2019-04/plus/users/current.json +22 -0
- data/lib/fake_shopify/fixtures/2019-04/plus/users/index.json +42 -0
- data/lib/fake_shopify/fixtures/2019-04/plus/users/show.json +22 -0
- data/lib/fake_shopify/fixtures/2019-04/products/collections/count.json +3 -0
- data/lib/fake_shopify/fixtures/2019-04/products/collections/create.json +21 -0
- data/lib/fake_shopify/fixtures/2019-04/products/collections/destroy.json +1 -0
- data/lib/fake_shopify/fixtures/2019-04/products/collections/index.json +47 -0
- data/lib/fake_shopify/fixtures/2019-04/products/collections/show.json +22 -0
- data/lib/fake_shopify/fixtures/2019-04/products/collections/update.json +21 -0
- data/lib/fake_shopify/fixtures/2019-04/products/collects/count.json +3 -0
- data/lib/fake_shopify/fixtures/2019-04/products/collects/create.json +11 -0
- data/lib/fake_shopify/fixtures/2019-04/products/collects/destroy.json +1 -0
- data/lib/fake_shopify/fixtures/2019-04/products/collects/index.json +22 -0
- data/lib/fake_shopify/fixtures/2019-04/products/collects/show.json +11 -0
- data/lib/fake_shopify/fixtures/2019-04/products/custom_collections/count.json +3 -0
- data/lib/fake_shopify/fixtures/2019-04/products/custom_collections/create.json +21 -0
- data/lib/fake_shopify/fixtures/2019-04/products/custom_collections/destroy.json +1 -0
- data/lib/fake_shopify/fixtures/2019-04/products/custom_collections/index.json +47 -0
- data/lib/fake_shopify/fixtures/2019-04/products/custom_collections/show.json +22 -0
- data/lib/fake_shopify/fixtures/2019-04/products/custom_collections/update.json +21 -0
- data/lib/fake_shopify/fixtures/2019-04/products/images/count.json +3 -0
- data/lib/fake_shopify/fixtures/2019-04/products/images/create.json +15 -0
- data/lib/fake_shopify/fixtures/2019-04/products/images/destroy.json +1 -0
- data/lib/fake_shopify/fixtures/2019-04/products/images/index.json +32 -0
- data/lib/fake_shopify/fixtures/2019-04/products/images/show.json +15 -0
- data/lib/fake_shopify/fixtures/2019-04/products/images/update.json +15 -0
- data/lib/fake_shopify/fixtures/2019-04/products/products/count.json +3 -0
- data/lib/fake_shopify/fixtures/2019-04/products/products/create.json +69 -0
- data/lib/fake_shopify/fixtures/2019-04/products/products/destroy.json +1 -0
- data/lib/fake_shopify/fixtures/2019-04/products/products/index.json +293 -0
- data/lib/fake_shopify/fixtures/2019-04/products/products/show.json +224 -0
- data/lib/fake_shopify/fixtures/2019-04/products/products/update.json +224 -0
- data/lib/fake_shopify/fixtures/2019-04/products/smart_collections/count.json +3 -0
- data/lib/fake_shopify/fixtures/2019-04/products/smart_collections/create.json +22 -0
- data/lib/fake_shopify/fixtures/2019-04/products/smart_collections/destroy.json +1 -0
- data/lib/fake_shopify/fixtures/2019-04/products/smart_collections/index.json +31 -0
- data/lib/fake_shopify/fixtures/2019-04/products/smart_collections/order.json +1 -0
- data/lib/fake_shopify/fixtures/2019-04/products/smart_collections/show.json +30 -0
- data/lib/fake_shopify/fixtures/2019-04/products/smart_collections/update.json +29 -0
- data/lib/fake_shopify/fixtures/2019-04/products/variants/count.json +3 -0
- data/lib/fake_shopify/fixtures/2019-04/products/variants/create.json +39 -0
- data/lib/fake_shopify/fixtures/2019-04/products/variants/destroy.json +1 -0
- data/lib/fake_shopify/fixtures/2019-04/products/variants/index.json +152 -0
- data/lib/fake_shopify/fixtures/2019-04/products/variants/show.json +40 -0
- data/lib/fake_shopify/fixtures/2019-04/products/variants/update.json +39 -0
- data/lib/fake_shopify/fixtures/2019-04/sales_channel/checkouts/complete.json +113 -0
- data/lib/fake_shopify/fixtures/2019-04/sales_channel/checkouts/create.json +82 -0
- data/lib/fake_shopify/fixtures/2019-04/sales_channel/checkouts/shipping_rates.json +30 -0
- data/lib/fake_shopify/fixtures/2019-04/sales_channel/checkouts/show.json +150 -0
- data/lib/fake_shopify/fixtures/2019-04/sales_channel/checkouts/update.json +135 -0
- data/lib/fake_shopify/fixtures/2019-04/sales_channel/collection_listings/create.json +16 -0
- data/lib/fake_shopify/fixtures/2019-04/sales_channel/collection_listings/destroy.json +1 -0
- data/lib/fake_shopify/fixtures/2019-04/sales_channel/collection_listings/index.json +64 -0
- data/lib/fake_shopify/fixtures/2019-04/sales_channel/collection_listings/product_ids.json +5 -0
- data/lib/fake_shopify/fixtures/2019-04/sales_channel/collection_listings/show.json +16 -0
- data/lib/fake_shopify/fixtures/2019-04/sales_channel/payments/count.json +3 -0
- data/lib/fake_shopify/fixtures/2019-04/sales_channel/payments/create.json +222 -0
- data/lib/fake_shopify/fixtures/2019-04/sales_channel/payments/index.json +208 -0
- data/lib/fake_shopify/fixtures/2019-04/sales_channel/payments/show.json +221 -0
- data/lib/fake_shopify/fixtures/2019-04/sales_channel/product_listings/count.json +3 -0
- data/lib/fake_shopify/fixtures/2019-04/sales_channel/product_listings/create.json +59 -0
- data/lib/fake_shopify/fixtures/2019-04/sales_channel/product_listings/destroy.json +1 -0
- data/lib/fake_shopify/fixtures/2019-04/sales_channel/product_listings/index.json +236 -0
- data/lib/fake_shopify/fixtures/2019-04/sales_channel/product_listings/product_ids.json +6 -0
- data/lib/fake_shopify/fixtures/2019-04/sales_channel/product_listings/show.json +59 -0
- data/lib/fake_shopify/fixtures/2019-04/sales_channel/resource_feedback/create.json +12 -0
- data/lib/fake_shopify/fixtures/2019-04/sales_channel/resource_feedback/index.json +16 -0
- data/lib/fake_shopify/fixtures/2019-04/shipping_and_fulfillment/carrier_services/create.json +12 -0
- data/lib/fake_shopify/fixtures/2019-04/shipping_and_fulfillment/carrier_services/destroy.json +1 -0
- data/lib/fake_shopify/fixtures/2019-04/shipping_and_fulfillment/carrier_services/index.json +22 -0
- data/lib/fake_shopify/fixtures/2019-04/shipping_and_fulfillment/carrier_services/show.json +12 -0
- data/lib/fake_shopify/fixtures/2019-04/shipping_and_fulfillment/carrier_services/update.json +12 -0
- data/lib/fake_shopify/fixtures/2019-04/shipping_and_fulfillment/events/create.json +22 -0
- data/lib/fake_shopify/fixtures/2019-04/shipping_and_fulfillment/events/destroy.json +1 -0
- data/lib/fake_shopify/fixtures/2019-04/shipping_and_fulfillment/events/index.json +24 -0
- data/lib/fake_shopify/fixtures/2019-04/shipping_and_fulfillment/events/show.json +22 -0
- data/lib/fake_shopify/fixtures/2019-04/shipping_and_fulfillment/fulfillment_services/create.json +15 -0
- data/lib/fake_shopify/fixtures/2019-04/shipping_and_fulfillment/fulfillment_services/destroy.json +1 -0
- data/lib/fake_shopify/fixtures/2019-04/shipping_and_fulfillment/fulfillment_services/index.json +17 -0
- data/lib/fake_shopify/fixtures/2019-04/shipping_and_fulfillment/fulfillment_services/show.json +15 -0
- data/lib/fake_shopify/fixtures/2019-04/shipping_and_fulfillment/fulfillment_services/update.json +15 -0
- data/lib/fake_shopify/fixtures/2019-04/shipping_and_fulfillment/fulfillments/cancel.json +100 -0
- data/lib/fake_shopify/fixtures/2019-04/shipping_and_fulfillment/fulfillments/complete.json +100 -0
- data/lib/fake_shopify/fixtures/2019-04/shipping_and_fulfillment/fulfillments/count.json +3 -0
- data/lib/fake_shopify/fixtures/2019-04/shipping_and_fulfillment/fulfillments/create.json +222 -0
- data/lib/fake_shopify/fixtures/2019-04/shipping_and_fulfillment/fulfillments/index.json +102 -0
- data/lib/fake_shopify/fixtures/2019-04/shipping_and_fulfillment/fulfillments/open.json +100 -0
- data/lib/fake_shopify/fixtures/2019-04/shipping_and_fulfillment/fulfillments/show.json +100 -0
- data/lib/fake_shopify/fixtures/2019-04/shipping_and_fulfillment/fulfillments/update.json +100 -0
- data/lib/fake_shopify/fixtures/2019-04/shopify_payments/balance/show.json +8 -0
- data/lib/fake_shopify/fixtures/2019-04/shopify_payments/disputes/index.json +88 -0
- data/lib/fake_shopify/fixtures/2019-04/shopify_payments/disputes/show.json +16 -0
- data/lib/fake_shopify/fixtures/2019-04/shopify_payments/payouts/index.json +99 -0
- data/lib/fake_shopify/fixtures/2019-04/shopify_payments/payouts/show.json +21 -0
- data/lib/fake_shopify/fixtures/2019-04/shopify_payments/transactions/index.json +468 -0
- data/lib/fake_shopify/fixtures/2019-04/store_properties/countries/count.json +3 -0
- data/lib/fake_shopify/fixtures/2019-04/store_properties/countries/create.json +10 -0
- data/lib/fake_shopify/fixtures/2019-04/store_properties/countries/destroy.json +1 -0
- data/lib/fake_shopify/fixtures/2019-04/store_properties/countries/index.json +261 -0
- data/lib/fake_shopify/fixtures/2019-04/store_properties/countries/show.json +154 -0
- data/lib/fake_shopify/fixtures/2019-04/store_properties/countries/update.json +154 -0
- data/lib/fake_shopify/fixtures/2019-04/store_properties/currencies/index.json +19 -0
- data/lib/fake_shopify/fixtures/2019-04/store_properties/policies/index.json +12 -0
- data/lib/fake_shopify/fixtures/2019-04/store_properties/provinces/count.json +3 -0
- data/lib/fake_shopify/fixtures/2019-04/store_properties/provinces/index.json +147 -0
- data/lib/fake_shopify/fixtures/2019-04/store_properties/provinces/show.json +13 -0
- data/lib/fake_shopify/fixtures/2019-04/store_properties/provinces/update.json +13 -0
- data/lib/fake_shopify/fixtures/2019-04/store_properties/shop/show.json +60 -0
- data/lib/fake_shopify/fixtures/2019-04/tender_transaction/tender_transactions/index.json +34 -0
- data/lib/fake_shopify/fixtures/2020-01/analytics/reports/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/analytics/reports/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/analytics/reports/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/analytics/reports/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/analytics/reports/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/billing/application_charges/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/billing/application_charges/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/billing/application_charges/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/billing/application_charges/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/billing/application_charges/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/billing/application_credits/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/billing/application_credits/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/billing/application_credits/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/billing/application_credits/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/billing/application_credits/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/billing/recurring_application_charges/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/billing/recurring_application_charges/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/billing/recurring_application_charges/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/billing/recurring_application_charges/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/billing/recurring_application_charges/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/billing/usage_charges/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/billing/usage_charges/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/billing/usage_charges/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/billing/usage_charges/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/billing/usage_charges/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/customers/addresses/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/customers/addresses/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/customers/addresses/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/customers/addresses/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/customers/addresses/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/customers/customer_saved_searches/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/customers/customer_saved_searches/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/customers/customer_saved_searches/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/customers/customer_saved_searches/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/customers/customer_saved_searches/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/customers/customers/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/customers/customers/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/customers/customers/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/customers/customers/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/customers/customers/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/discounts/discount_codes/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/discounts/discount_codes/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/discounts/discount_codes/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/discounts/discount_codes/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/discounts/discount_codes/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/discounts/price_rules/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/discounts/price_rules/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/discounts/price_rules/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/discounts/price_rules/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/discounts/price_rules/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/events/events/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/events/events/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/events/events/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/events/events/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/events/events/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/events/webhooks/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/events/webhooks/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/events/webhooks/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/events/webhooks/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/events/webhooks/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/inventory/inventory_items/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/inventory/inventory_items/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/inventory/inventory_items/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/inventory/inventory_items/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/inventory/inventory_items/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/inventory/inventory_levels/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/inventory/inventory_levels/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/inventory/inventory_levels/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/inventory/inventory_levels/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/inventory/inventory_levels/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/inventory/locations/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/inventory/locations/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/inventory/locations/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/inventory/locations/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/inventory/locations/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/marketing_event/marketing_events/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/marketing_event/marketing_events/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/marketing_event/marketing_events/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/marketing_event/marketing_events/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/marketing_event/marketing_events/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/metafield/metafields/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/metafield/metafields/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/metafield/metafields/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/metafield/metafields/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/metafield/metafields/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/metafields.json +13 -0
- data/lib/fake_shopify/fixtures/2020-01/online_store/articles/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/online_store/articles/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/online_store/articles/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/online_store/articles/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/online_store/articles/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/online_store/assets/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/online_store/assets/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/online_store/assets/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/online_store/assets/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/online_store/assets/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/online_store/blogs/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/online_store/blogs/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/online_store/blogs/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/online_store/blogs/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/online_store/blogs/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/online_store/comments/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/online_store/comments/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/online_store/comments/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/online_store/comments/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/online_store/comments/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/online_store/pages/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/online_store/pages/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/online_store/pages/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/online_store/pages/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/online_store/pages/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/online_store/redirects/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/online_store/redirects/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/online_store/redirects/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/online_store/redirects/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/online_store/redirects/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/online_store/script_tags/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/online_store/script_tags/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/online_store/script_tags/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/online_store/script_tags/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/online_store/script_tags/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/online_store/themes/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/online_store/themes/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/online_store/themes/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/online_store/themes/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/online_store/themes/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/orders/checkouts/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/orders/checkouts/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/orders/checkouts/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/orders/checkouts/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/orders/checkouts/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/orders/draft_orders/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/orders/draft_orders/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/orders/draft_orders/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/orders/draft_orders/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/orders/draft_orders/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/orders/orders/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/orders/orders/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/orders/orders/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/orders/orders/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/orders/orders/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/orders/refunds/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/orders/refunds/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/orders/refunds/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/orders/refunds/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/orders/refunds/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/orders/risks/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/orders/risks/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/orders/risks/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/orders/risks/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/orders/risks/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/orders/transactions/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/orders/transactions/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/orders/transactions/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/orders/transactions/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/orders/transactions/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/plus/gift_cards/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/plus/gift_cards/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/plus/gift_cards/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/plus/gift_cards/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/plus/gift_cards/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/plus/users/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/plus/users/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/plus/users/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/plus/users/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/plus/users/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/products.json +293 -0
- data/lib/fake_shopify/fixtures/2020-01/products/collections/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/products/collections/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/products/collections/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/products/collections/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/products/collections/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/products/collects/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/products/collects/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/products/collects/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/products/collects/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/products/collects/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/products/count.json +3 -0
- data/lib/fake_shopify/fixtures/2020-01/products/custom_collections/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/products/custom_collections/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/products/custom_collections/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/products/custom_collections/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/products/custom_collections/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/products/images/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/products/images/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/products/images/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/products/images/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/products/images/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/products/products/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/products/products/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/products/products/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/products/products/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/products/products/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/products/smart_collections/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/products/smart_collections/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/products/smart_collections/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/products/smart_collections/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/products/smart_collections/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/products/variants/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/products/variants/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/products/variants/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/products/variants/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/products/variants/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/sales_channel/checkouts/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/sales_channel/checkouts/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/sales_channel/checkouts/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/sales_channel/checkouts/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/sales_channel/checkouts/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/sales_channel/collection_listings/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/sales_channel/collection_listings/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/sales_channel/collection_listings/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/sales_channel/collection_listings/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/sales_channel/collection_listings/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/sales_channel/payments/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/sales_channel/payments/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/sales_channel/payments/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/sales_channel/payments/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/sales_channel/payments/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/sales_channel/product_listings/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/sales_channel/product_listings/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/sales_channel/product_listings/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/sales_channel/product_listings/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/sales_channel/product_listings/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/sales_channel/resource_feedback/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/sales_channel/resource_feedback/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/sales_channel/resource_feedback/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/sales_channel/resource_feedback/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/sales_channel/resource_feedback/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/shipping_and_fulfillment/assigned_fulfillment_orders/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/shipping_and_fulfillment/assigned_fulfillment_orders/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/shipping_and_fulfillment/assigned_fulfillment_orders/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/shipping_and_fulfillment/assigned_fulfillment_orders/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/shipping_and_fulfillment/assigned_fulfillment_orders/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/shipping_and_fulfillment/cancellation_request/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/shipping_and_fulfillment/cancellation_request/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/shipping_and_fulfillment/cancellation_request/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/shipping_and_fulfillment/cancellation_request/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/shipping_and_fulfillment/cancellation_request/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/shipping_and_fulfillment/carrier_services/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/shipping_and_fulfillment/carrier_services/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/shipping_and_fulfillment/carrier_services/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/shipping_and_fulfillment/carrier_services/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/shipping_and_fulfillment/carrier_services/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/shipping_and_fulfillment/events/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/shipping_and_fulfillment/events/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/shipping_and_fulfillment/events/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/shipping_and_fulfillment/events/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/shipping_and_fulfillment/events/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/shipping_and_fulfillment/fulfillment_orders/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/shipping_and_fulfillment/fulfillment_orders/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/shipping_and_fulfillment/fulfillment_orders/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/shipping_and_fulfillment/fulfillment_orders/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/shipping_and_fulfillment/fulfillment_orders/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/shipping_and_fulfillment/fulfillment_request/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/shipping_and_fulfillment/fulfillment_request/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/shipping_and_fulfillment/fulfillment_request/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/shipping_and_fulfillment/fulfillment_request/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/shipping_and_fulfillment/fulfillment_request/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/shipping_and_fulfillment/fulfillment_services/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/shipping_and_fulfillment/fulfillment_services/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/shipping_and_fulfillment/fulfillment_services/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/shipping_and_fulfillment/fulfillment_services/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/shipping_and_fulfillment/fulfillment_services/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/shipping_and_fulfillment/fulfillments/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/shipping_and_fulfillment/fulfillments/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/shipping_and_fulfillment/fulfillments/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/shipping_and_fulfillment/fulfillments/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/shipping_and_fulfillment/fulfillments/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/shipping_and_fulfillment/locations_for_move/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/shipping_and_fulfillment/locations_for_move/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/shipping_and_fulfillment/locations_for_move/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/shipping_and_fulfillment/locations_for_move/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/shipping_and_fulfillment/locations_for_move/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/shop.json +60 -0
- data/lib/fake_shopify/fixtures/2020-01/shopify_payments/balance/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/shopify_payments/balance/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/shopify_payments/balance/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/shopify_payments/balance/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/shopify_payments/balance/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/shopify_payments/disputes/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/shopify_payments/disputes/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/shopify_payments/disputes/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/shopify_payments/disputes/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/shopify_payments/disputes/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/shopify_payments/payouts/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/shopify_payments/payouts/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/shopify_payments/payouts/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/shopify_payments/payouts/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/shopify_payments/payouts/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/shopify_payments/transactions/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/shopify_payments/transactions/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/shopify_payments/transactions/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/shopify_payments/transactions/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/shopify_payments/transactions/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/store_properties/countries/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/store_properties/countries/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/store_properties/countries/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/store_properties/countries/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/store_properties/countries/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/store_properties/currencies/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/store_properties/currencies/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/store_properties/currencies/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/store_properties/currencies/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/store_properties/currencies/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/store_properties/policies/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/store_properties/policies/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/store_properties/policies/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/store_properties/policies/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/store_properties/policies/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/store_properties/provinces/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/store_properties/provinces/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/store_properties/provinces/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/store_properties/provinces/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/store_properties/provinces/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/store_properties/shop/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/store_properties/shop/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/store_properties/shop/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/store_properties/shop/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/store_properties/shop/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/tender_transaction/tender_transactions/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/tender_transaction/tender_transactions/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/tender_transaction/tender_transactions/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/tender_transaction/tender_transactions/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/tender_transaction/tender_transactions/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/analytics/reports/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/analytics/reports/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/analytics/reports/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/analytics/reports/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/analytics/reports/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/billing/application_charges/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/billing/application_charges/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/billing/application_charges/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/billing/application_charges/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/billing/application_charges/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/billing/application_credits/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/billing/application_credits/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/billing/application_credits/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/billing/application_credits/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/billing/application_credits/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/billing/recurring_application_charges/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/billing/recurring_application_charges/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/billing/recurring_application_charges/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/billing/recurring_application_charges/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/billing/recurring_application_charges/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/billing/usage_charges/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/billing/usage_charges/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/billing/usage_charges/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/billing/usage_charges/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/billing/usage_charges/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/customers/addresses/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/customers/addresses/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/customers/addresses/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/customers/addresses/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/customers/addresses/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/customers/customer_saved_searches/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/customers/customer_saved_searches/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/customers/customer_saved_searches/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/customers/customer_saved_searches/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/customers/customer_saved_searches/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/customers/customers/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/customers/customers/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/customers/customers/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/customers/customers/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/customers/customers/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/discounts/discount_codes/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/discounts/discount_codes/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/discounts/discount_codes/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/discounts/discount_codes/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/discounts/discount_codes/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/discounts/price_rules/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/discounts/price_rules/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/discounts/price_rules/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/discounts/price_rules/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/discounts/price_rules/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/events/events/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/events/events/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/events/events/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/events/events/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/events/events/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/events/webhooks/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/events/webhooks/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/events/webhooks/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/events/webhooks/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/events/webhooks/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/inventory/inventory_items/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/inventory/inventory_items/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/inventory/inventory_items/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/inventory/inventory_items/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/inventory/inventory_items/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/inventory/inventory_levels/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/inventory/inventory_levels/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/inventory/inventory_levels/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/inventory/inventory_levels/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/inventory/inventory_levels/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/inventory/locations/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/inventory/locations/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/inventory/locations/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/inventory/locations/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/inventory/locations/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/marketing_event/marketing_events/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/marketing_event/marketing_events/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/marketing_event/marketing_events/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/marketing_event/marketing_events/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/marketing_event/marketing_events/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/metafield/metafields/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/metafield/metafields/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/metafield/metafields/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/metafield/metafields/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/metafield/metafields/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/metafields.json +13 -0
- data/lib/fake_shopify/fixtures/2020-04/online_store/articles/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/online_store/articles/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/online_store/articles/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/online_store/articles/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/online_store/articles/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/online_store/assets/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/online_store/assets/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/online_store/assets/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/online_store/assets/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/online_store/assets/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/online_store/blogs/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/online_store/blogs/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/online_store/blogs/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/online_store/blogs/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/online_store/blogs/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/online_store/comments/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/online_store/comments/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/online_store/comments/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/online_store/comments/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/online_store/comments/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/online_store/pages/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/online_store/pages/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/online_store/pages/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/online_store/pages/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/online_store/pages/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/online_store/redirects/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/online_store/redirects/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/online_store/redirects/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/online_store/redirects/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/online_store/redirects/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/online_store/script_tags/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/online_store/script_tags/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/online_store/script_tags/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/online_store/script_tags/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/online_store/script_tags/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/online_store/themes/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/online_store/themes/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/online_store/themes/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/online_store/themes/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/online_store/themes/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/orders/checkouts/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/orders/checkouts/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/orders/checkouts/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/orders/checkouts/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/orders/checkouts/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/orders/draft_orders/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/orders/draft_orders/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/orders/draft_orders/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/orders/draft_orders/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/orders/draft_orders/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/orders/orders/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/orders/orders/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/orders/orders/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/orders/orders/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/orders/orders/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/orders/refunds/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/orders/refunds/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/orders/refunds/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/orders/refunds/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/orders/refunds/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/orders/risks/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/orders/risks/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/orders/risks/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/orders/risks/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/orders/risks/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/orders/transactions/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/orders/transactions/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/orders/transactions/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/orders/transactions/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/orders/transactions/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/plus/gift_cards/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/plus/gift_cards/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/plus/gift_cards/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/plus/gift_cards/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/plus/gift_cards/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/plus/users/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/plus/users/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/plus/users/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/plus/users/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/plus/users/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/products.json +293 -0
- data/lib/fake_shopify/fixtures/2020-04/products/collections/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/products/collections/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/products/collections/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/products/collections/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/products/collections/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/products/collects/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/products/collects/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/products/collects/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/products/collects/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/products/collects/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/products/count.json +3 -0
- data/lib/fake_shopify/fixtures/2020-04/products/custom_collections/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/products/custom_collections/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/products/custom_collections/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/products/custom_collections/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/products/custom_collections/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/products/images/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/products/images/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/products/images/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/products/images/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/products/images/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/products/products/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/products/products/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/products/products/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/products/products/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/products/products/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/products/smart_collections/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/products/smart_collections/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/products/smart_collections/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/products/smart_collections/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/products/smart_collections/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/products/variants/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/products/variants/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/products/variants/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/products/variants/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/products/variants/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/sales_channel/checkouts/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/sales_channel/checkouts/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/sales_channel/checkouts/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/sales_channel/checkouts/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/sales_channel/checkouts/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/sales_channel/collection_listings/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/sales_channel/collection_listings/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/sales_channel/collection_listings/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/sales_channel/collection_listings/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/sales_channel/collection_listings/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/sales_channel/payments/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/sales_channel/payments/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/sales_channel/payments/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/sales_channel/payments/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/sales_channel/payments/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/sales_channel/product_listings/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/sales_channel/product_listings/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/sales_channel/product_listings/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/sales_channel/product_listings/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/sales_channel/product_listings/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/sales_channel/resource_feedback/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/sales_channel/resource_feedback/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/sales_channel/resource_feedback/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/sales_channel/resource_feedback/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/sales_channel/resource_feedback/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/shipping_and_fulfillment/assigned_fulfillment_orders/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/shipping_and_fulfillment/assigned_fulfillment_orders/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/shipping_and_fulfillment/assigned_fulfillment_orders/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/shipping_and_fulfillment/assigned_fulfillment_orders/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/shipping_and_fulfillment/assigned_fulfillment_orders/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/shipping_and_fulfillment/cancellation_request/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/shipping_and_fulfillment/cancellation_request/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/shipping_and_fulfillment/cancellation_request/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/shipping_and_fulfillment/cancellation_request/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/shipping_and_fulfillment/cancellation_request/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/shipping_and_fulfillment/carrier_services/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/shipping_and_fulfillment/carrier_services/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/shipping_and_fulfillment/carrier_services/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/shipping_and_fulfillment/carrier_services/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/shipping_and_fulfillment/carrier_services/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/shipping_and_fulfillment/events/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/shipping_and_fulfillment/events/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/shipping_and_fulfillment/events/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/shipping_and_fulfillment/events/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/shipping_and_fulfillment/events/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/shipping_and_fulfillment/fulfillment_orders/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/shipping_and_fulfillment/fulfillment_orders/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/shipping_and_fulfillment/fulfillment_orders/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/shipping_and_fulfillment/fulfillment_orders/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/shipping_and_fulfillment/fulfillment_orders/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/shipping_and_fulfillment/fulfillment_request/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/shipping_and_fulfillment/fulfillment_request/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/shipping_and_fulfillment/fulfillment_request/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/shipping_and_fulfillment/fulfillment_request/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/shipping_and_fulfillment/fulfillment_request/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/shipping_and_fulfillment/fulfillment_services/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/shipping_and_fulfillment/fulfillment_services/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/shipping_and_fulfillment/fulfillment_services/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/shipping_and_fulfillment/fulfillment_services/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/shipping_and_fulfillment/fulfillment_services/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/shipping_and_fulfillment/fulfillments/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/shipping_and_fulfillment/fulfillments/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/shipping_and_fulfillment/fulfillments/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/shipping_and_fulfillment/fulfillments/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/shipping_and_fulfillment/fulfillments/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/shipping_and_fulfillment/locations_for_move/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/shipping_and_fulfillment/locations_for_move/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/shipping_and_fulfillment/locations_for_move/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/shipping_and_fulfillment/locations_for_move/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/shipping_and_fulfillment/locations_for_move/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/shop.json +60 -0
- data/lib/fake_shopify/fixtures/2020-04/shopify_payments/balance/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/shopify_payments/balance/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/shopify_payments/balance/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/shopify_payments/balance/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/shopify_payments/balance/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/shopify_payments/disputes/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/shopify_payments/disputes/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/shopify_payments/disputes/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/shopify_payments/disputes/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/shopify_payments/disputes/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/shopify_payments/payouts/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/shopify_payments/payouts/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/shopify_payments/payouts/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/shopify_payments/payouts/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/shopify_payments/payouts/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/shopify_payments/transactions/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/shopify_payments/transactions/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/shopify_payments/transactions/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/shopify_payments/transactions/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/shopify_payments/transactions/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/store_properties/countries/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/store_properties/countries/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/store_properties/countries/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/store_properties/countries/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/store_properties/countries/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/store_properties/currencies/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/store_properties/currencies/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/store_properties/currencies/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/store_properties/currencies/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/store_properties/currencies/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/store_properties/policies/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/store_properties/policies/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/store_properties/policies/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/store_properties/policies/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/store_properties/policies/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/store_properties/provinces/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/store_properties/provinces/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/store_properties/provinces/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/store_properties/provinces/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/store_properties/provinces/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/store_properties/shop/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/store_properties/shop/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/store_properties/shop/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/store_properties/shop/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/store_properties/shop/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/tender_transaction/tender_transactions/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/tender_transaction/tender_transactions/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/tender_transaction/tender_transactions/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/tender_transaction/tender_transactions/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/tender_transaction/tender_transactions/update.json +9 -0
- data/lib/fake_shopify/initializers/webmock.rb +4 -0
- data/lib/fake_shopify/routes/analytics.rb +24 -0
- data/lib/fake_shopify/routes/billing.rb +71 -0
- data/lib/fake_shopify/routes/customers.rb +105 -0
- data/lib/fake_shopify/routes/discounts.rb +65 -0
- data/lib/fake_shopify/routes/events.rb +43 -0
- data/lib/fake_shopify/routes/inventory.rb +57 -0
- data/lib/fake_shopify/routes/marketing_event.rb +33 -0
- data/lib/fake_shopify/routes/metafield.rb +29 -0
- data/lib/fake_shopify/routes/online_store.rb +226 -0
- data/lib/fake_shopify/routes/orders.rb +143 -0
- data/lib/fake_shopify/routes/plus.rb +47 -0
- data/lib/fake_shopify/routes/products.rb +172 -0
- data/lib/fake_shopify/routes/sales_channel.rb +101 -0
- data/lib/fake_shopify/routes/shipping_and_fulfillment.rb +160 -0
- data/lib/fake_shopify/routes/shopify_payments.rb +35 -0
- data/lib/fake_shopify/routes/store_properties.rb +65 -0
- data/lib/fake_shopify/routes/tender_transaction.rb +8 -0
- data/lib/fake_shopify/stub_app.rb +19 -0
- data/lib/fake_shopify/version.rb +3 -0
- metadata +1136 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 269db357e22cce5ee0415963d2fbc05f8541c57f67e396c2c711c8c83247eef4
|
4
|
+
data.tar.gz: 935d5e2277e2f9cdcaeca8b33173cbccd944aae8a4f7de419a17b94afe131835
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 8b7656ca249f6e477c62e506ccba83c38d4a3942716abdc73c5edaa84a036f4ec91590da61b567d1dace5743dffcf67d153c5a4708e8c74351bdb39574ad16c1
|
7
|
+
data.tar.gz: eec8a883b796c0f461c99ea4a3075fb7ad2d7b1fcb09c50da599b699ac9e3afeab0fe6c1b15b4074b4b158080e8e69098cb70891e133e366ec335823d25c2282
|
data/README.md
ADDED
@@ -0,0 +1,72 @@
|
|
1
|
+
# FakeShopify
|
2
|
+
|
3
|
+
This gem provides a way to test a Shopify app without hitting Shopify's servers. It uses [Webmock](https://github.com/bblimke/webmock) to intercept all of the calls from Shopify's Ruby API library and returns JSON fixtures from Shopify's example documentation. The gem's design borrows heavily from thoughtbot's [FakeStripe](https://github.com/thoughtbot/fake_stripe) gem.
|
4
|
+
|
5
|
+
## Installation
|
6
|
+
|
7
|
+
Add this line to your application's Gemfile:
|
8
|
+
|
9
|
+
```ruby
|
10
|
+
gem 'fake_shopify'
|
11
|
+
```
|
12
|
+
|
13
|
+
And then execute:
|
14
|
+
|
15
|
+
$ bundle install
|
16
|
+
|
17
|
+
Or install it yourself as:
|
18
|
+
|
19
|
+
$ gem install fake_shopify
|
20
|
+
|
21
|
+
## Usage
|
22
|
+
|
23
|
+
Require the library in your spec support:
|
24
|
+
|
25
|
+
```ruby
|
26
|
+
# spec/support/fake_stripe.rb
|
27
|
+
require 'fake_shopify'
|
28
|
+
|
29
|
+
RSpec.configure do |config|
|
30
|
+
config.before(:each) do
|
31
|
+
FakeShopify.stub_shopify
|
32
|
+
end
|
33
|
+
end
|
34
|
+
```
|
35
|
+
|
36
|
+
Then start a ShopiyAPI::Session with the following values:
|
37
|
+
|
38
|
+
```ruby
|
39
|
+
session = ShopifyAPI::Session.new(
|
40
|
+
domain: 'domain',
|
41
|
+
token: 'foobar',
|
42
|
+
api_version: '2019-04',
|
43
|
+
)
|
44
|
+
ShopifyAPI::Base.activate_session(session)
|
45
|
+
```
|
46
|
+
|
47
|
+
For now, these exact values for `domain` and `api_version` are required.
|
48
|
+
|
49
|
+
## Development Roadmap
|
50
|
+
|
51
|
+
- Add more detailed usage instructions
|
52
|
+
- Add fixtures for all other Shopify API versions
|
53
|
+
- Allow users to set custom shop domain for testing
|
54
|
+
|
55
|
+
## Development
|
56
|
+
|
57
|
+
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
58
|
+
|
59
|
+
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
60
|
+
|
61
|
+
## Contributing
|
62
|
+
|
63
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/fake_shopify. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/[USERNAME]/fake_shopify/blob/master/CODE_OF_CONDUCT.md).
|
64
|
+
|
65
|
+
|
66
|
+
## License
|
67
|
+
|
68
|
+
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
69
|
+
|
70
|
+
## Code of Conduct
|
71
|
+
|
72
|
+
Everyone interacting in the FakeShopify project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/fake_shopify/blob/master/CODE_OF_CONDUCT.md).
|
data/Rakefile
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
require "rubygems"
|
2
|
+
require "bundler"
|
3
|
+
require "rake"
|
4
|
+
require "rspec/core/rake_task"
|
5
|
+
|
6
|
+
Bundler::GemHelper.install_tasks(name: "fake_shopify")
|
7
|
+
|
8
|
+
desc "Default: run the specs and features."
|
9
|
+
task default: %w(spec:requests)
|
10
|
+
|
11
|
+
namespace :spec do
|
12
|
+
desc "Run request specs"
|
13
|
+
RSpec::Core::RakeTask.new("requests") do |t|
|
14
|
+
t.pattern = "spec/fake_shopify/requests/{*_spec.rb}"
|
15
|
+
end
|
16
|
+
end
|
data/lib/fake_shopify.rb
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
require "capybara"
|
2
|
+
require "capybara/server"
|
3
|
+
require "fake_shopify/configuration"
|
4
|
+
require "fake_shopify/initializers/webmock"
|
5
|
+
require "fake_shopify/stub_app"
|
6
|
+
|
7
|
+
module FakeShopify
|
8
|
+
extend Configuration
|
9
|
+
|
10
|
+
def self.stub_shopify
|
11
|
+
stub_request(:any, /domain.myshopify.com/).to_rack(FakeShopify::StubApp)
|
12
|
+
end
|
13
|
+
end
|
@@ -0,0 +1,18 @@
|
|
1
|
+
require "capybara"
|
2
|
+
require "capybara/server"
|
3
|
+
require "fake_shopify/utils"
|
4
|
+
|
5
|
+
module Bootable
|
6
|
+
def boot(port = FakeShopify::Utils.find_available_port)
|
7
|
+
instance = new
|
8
|
+
Capybara::Server.new(instance, port: port).tap(&:boot)
|
9
|
+
end
|
10
|
+
|
11
|
+
def boot_once
|
12
|
+
@boot_once ||= boot(server_port)
|
13
|
+
end
|
14
|
+
|
15
|
+
def server_port
|
16
|
+
@server_port ||= FakeShopify::Utils.find_available_port
|
17
|
+
end
|
18
|
+
end
|
@@ -0,0 +1 @@
|
|
1
|
+
{}
|
@@ -0,0 +1,18 @@
|
|
1
|
+
{
|
2
|
+
"reports": [
|
3
|
+
{
|
4
|
+
"id": 752357116,
|
5
|
+
"name": "Custom App Report 2",
|
6
|
+
"shopify_ql": "SHOW total_sales BY order_id FROM sales ORDER BY total_sales",
|
7
|
+
"updated_at": "2020-01-14T10:26:56-05:00",
|
8
|
+
"category": "custom_app_reports"
|
9
|
+
},
|
10
|
+
{
|
11
|
+
"id": 517154478,
|
12
|
+
"name": "Wholesale Sales Report",
|
13
|
+
"shopify_ql": "SHOW total_sales BY order_id FROM sales WHERE api_client_id == 123 SINCE -1m UNTIL today",
|
14
|
+
"updated_at": "2017-04-10T16:33:22-04:00",
|
15
|
+
"category": "custom_app_reports"
|
16
|
+
}
|
17
|
+
]
|
18
|
+
}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
{
|
2
|
+
"report": {
|
3
|
+
"id": 517154478,
|
4
|
+
"name": "Wholesale Sales Report",
|
5
|
+
"shopify_ql": "SHOW total_sales BY order_id FROM sales WHERE api_client_id == 123 SINCE -1m UNTIL today",
|
6
|
+
"updated_at": "2017-04-10T16:33:22-04:00",
|
7
|
+
"category": "custom_app_reports"
|
8
|
+
}
|
9
|
+
}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
{
|
2
|
+
"application_charge": {
|
3
|
+
"id": 675931192,
|
4
|
+
"name": "iPod Cleaning",
|
5
|
+
"api_client_id": 755357713,
|
6
|
+
"price": "5.00",
|
7
|
+
"status": "accepted",
|
8
|
+
"return_url": "http://google.com",
|
9
|
+
"test": null,
|
10
|
+
"created_at": "2020-01-14T10:41:30-05:00",
|
11
|
+
"updated_at": "2020-01-14T10:41:30-05:00",
|
12
|
+
"charge_type": null,
|
13
|
+
"decorated_return_url": "http://google.com?charge_id=675931192"
|
14
|
+
}
|
15
|
+
}
|
@@ -0,0 +1,16 @@
|
|
1
|
+
{
|
2
|
+
"application_charge": {
|
3
|
+
"id": 1017262355,
|
4
|
+
"name": "Super Duper Expensive action",
|
5
|
+
"api_client_id": 755357713,
|
6
|
+
"price": "100.00",
|
7
|
+
"status": "pending",
|
8
|
+
"return_url": "http://super-duper.shopifyapps.com/",
|
9
|
+
"test": null,
|
10
|
+
"created_at": "2020-01-14T10:46:14-05:00",
|
11
|
+
"updated_at": "2020-01-14T10:46:14-05:00",
|
12
|
+
"charge_type": null,
|
13
|
+
"decorated_return_url": "http://super-duper.shopifyapps.com/?charge_id=1017262355",
|
14
|
+
"confirmation_url": "https://apple.myshopify.com/admin/charges/1017262355/confirm_application_charge?signature=BAh7BzoHaWRpBBMxojw6EmF1dG9fYWN0aXZhdGVG--5565cfdd49c43537113edcbfde3e4039b177aaae"
|
15
|
+
}
|
16
|
+
}
|
@@ -0,0 +1,43 @@
|
|
1
|
+
{
|
2
|
+
"application_charges": [
|
3
|
+
{
|
4
|
+
"id": 1017262346,
|
5
|
+
"name": "Create me a logo",
|
6
|
+
"api_client_id": 755357713,
|
7
|
+
"price": "123.00",
|
8
|
+
"status": "accepted",
|
9
|
+
"return_url": "http://google.com",
|
10
|
+
"test": null,
|
11
|
+
"created_at": "2020-01-14T10:41:30-05:00",
|
12
|
+
"updated_at": "2020-01-14T10:41:30-05:00",
|
13
|
+
"charge_type": "brokered_service",
|
14
|
+
"decorated_return_url": "http://google.com?charge_id=1017262346"
|
15
|
+
},
|
16
|
+
{
|
17
|
+
"id": 556467234,
|
18
|
+
"name": "Green theme",
|
19
|
+
"api_client_id": 755357713,
|
20
|
+
"price": "120.00",
|
21
|
+
"status": "accepted",
|
22
|
+
"return_url": "http://google.com",
|
23
|
+
"test": null,
|
24
|
+
"created_at": "2020-01-14T10:41:30-05:00",
|
25
|
+
"updated_at": "2020-01-14T10:41:30-05:00",
|
26
|
+
"charge_type": "theme",
|
27
|
+
"decorated_return_url": "http://google.com?charge_id=556467234"
|
28
|
+
},
|
29
|
+
{
|
30
|
+
"id": 675931192,
|
31
|
+
"name": "iPod Cleaning",
|
32
|
+
"api_client_id": 755357713,
|
33
|
+
"price": "5.00",
|
34
|
+
"status": "accepted",
|
35
|
+
"return_url": "http://google.com",
|
36
|
+
"test": null,
|
37
|
+
"created_at": "2020-01-14T10:41:30-05:00",
|
38
|
+
"updated_at": "2020-01-14T10:41:30-05:00",
|
39
|
+
"charge_type": null,
|
40
|
+
"decorated_return_url": "http://google.com?charge_id=675931192"
|
41
|
+
}
|
42
|
+
]
|
43
|
+
}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
{
|
2
|
+
"application_charge": {
|
3
|
+
"id": 675931192,
|
4
|
+
"name": "iPod Cleaning",
|
5
|
+
"api_client_id": 755357713,
|
6
|
+
"price": "5.00",
|
7
|
+
"status": "accepted",
|
8
|
+
"return_url": "http://google.com",
|
9
|
+
"test": null,
|
10
|
+
"created_at": "2020-01-14T10:41:30-05:00",
|
11
|
+
"updated_at": "2020-01-14T10:41:30-05:00",
|
12
|
+
"charge_type": null,
|
13
|
+
"decorated_return_url": "http://google.com?charge_id=675931192"
|
14
|
+
}
|
15
|
+
}
|
@@ -0,0 +1,19 @@
|
|
1
|
+
{
|
2
|
+
"recurring_application_charge": {
|
3
|
+
"id": 455696195,
|
4
|
+
"name": "Super Mega Plan",
|
5
|
+
"api_client_id": 755357713,
|
6
|
+
"price": "15.00",
|
7
|
+
"status": "active",
|
8
|
+
"return_url": "http://yourapp.com",
|
9
|
+
"billing_on": "2020-02-13",
|
10
|
+
"created_at": "2020-01-14T10:26:56-05:00",
|
11
|
+
"updated_at": "2020-01-13T19:00:00-05:00",
|
12
|
+
"test": null,
|
13
|
+
"activated_on": "2020-01-14",
|
14
|
+
"cancelled_on": null,
|
15
|
+
"trial_days": 0,
|
16
|
+
"trial_ends_on": "2020-01-14",
|
17
|
+
"decorated_return_url": "http://yourapp.com?charge_id=455696195"
|
18
|
+
}
|
19
|
+
}
|
@@ -0,0 +1,20 @@
|
|
1
|
+
{
|
2
|
+
"recurring_application_charge": {
|
3
|
+
"id": 1029266947,
|
4
|
+
"name": "Super Duper Plan",
|
5
|
+
"api_client_id": 755357713,
|
6
|
+
"price": "10.00",
|
7
|
+
"status": "pending",
|
8
|
+
"return_url": "http://super-duper.shopifyapps.com/",
|
9
|
+
"billing_on": null,
|
10
|
+
"created_at": "2020-01-14T10:31:40-05:00",
|
11
|
+
"updated_at": "2020-01-14T10:31:40-05:00",
|
12
|
+
"test": null,
|
13
|
+
"activated_on": null,
|
14
|
+
"cancelled_on": null,
|
15
|
+
"trial_days": 0,
|
16
|
+
"trial_ends_on": null,
|
17
|
+
"decorated_return_url": "http://super-duper.shopifyapps.com/?charge_id=1029266947",
|
18
|
+
"confirmation_url": "https://apple.myshopify.com/admin/charges/1029266947/confirm_recurring_application_charge?signature=BAh7BzoHaWRpBANeWT06EmF1dG9fYWN0aXZhdGVG--04f03cda5902ed6a0071e76df5dcfc95d4ee1a25"
|
19
|
+
}
|
20
|
+
}
|
@@ -0,0 +1,24 @@
|
|
1
|
+
{
|
2
|
+
"recurring_application_charge": {
|
3
|
+
"id": 455696195,
|
4
|
+
"name": "Super Mega Plan",
|
5
|
+
"api_client_id": 755357713,
|
6
|
+
"price": "15.00",
|
7
|
+
"status": "active",
|
8
|
+
"return_url": "http://yourapp.com",
|
9
|
+
"billing_on": "2018-09-04",
|
10
|
+
"created_at": "2020-01-14T10:26:56-05:00",
|
11
|
+
"updated_at": "2020-01-14T10:31:50-05:00",
|
12
|
+
"test": null,
|
13
|
+
"activated_on": "2020-01-14",
|
14
|
+
"cancelled_on": null,
|
15
|
+
"trial_days": 0,
|
16
|
+
"capped_amount": "100.00",
|
17
|
+
"trial_ends_on": "2020-01-14",
|
18
|
+
"balance_used": 0.0,
|
19
|
+
"balance_remaining": 100.0,
|
20
|
+
"risk_level": 0,
|
21
|
+
"decorated_return_url": "http://yourapp.com?charge_id=455696195",
|
22
|
+
"update_capped_amount_url": "https://apple.myshopify.com/admin/charges/455696195/confirm_update_capped_amount?signature=BAh7BzoHaWRpBENfKRs6EmF1dG9fYWN0aXZhdGVG--7062c2b92db057fe6e4297382d402bf6361d5c6a"
|
23
|
+
}
|
24
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
{}
|
@@ -0,0 +1,21 @@
|
|
1
|
+
{
|
2
|
+
"recurring_application_charges": [
|
3
|
+
{
|
4
|
+
"id": 455696195,
|
5
|
+
"name": "Super Mega Plan",
|
6
|
+
"api_client_id": 755357713,
|
7
|
+
"price": "15.00",
|
8
|
+
"status": "accepted",
|
9
|
+
"return_url": "http://yourapp.com",
|
10
|
+
"billing_on": "2020-01-14",
|
11
|
+
"created_at": "2020-01-14T10:26:56-05:00",
|
12
|
+
"updated_at": "2020-01-14T10:31:45-05:00",
|
13
|
+
"test": null,
|
14
|
+
"activated_on": null,
|
15
|
+
"cancelled_on": null,
|
16
|
+
"trial_days": 0,
|
17
|
+
"trial_ends_on": null,
|
18
|
+
"decorated_return_url": "http://yourapp.com?charge_id=455696195"
|
19
|
+
}
|
20
|
+
]
|
21
|
+
}
|
@@ -0,0 +1,20 @@
|
|
1
|
+
{
|
2
|
+
"recurring_application_charge": {
|
3
|
+
"id": 455696195,
|
4
|
+
"name": "Super Mega Plan",
|
5
|
+
"api_client_id": 755357713,
|
6
|
+
"price": "15.00",
|
7
|
+
"status": "pending",
|
8
|
+
"return_url": "http://yourapp.com",
|
9
|
+
"billing_on": "2020-01-14",
|
10
|
+
"created_at": "2020-01-14T10:26:56-05:00",
|
11
|
+
"updated_at": "2020-01-14T10:26:56-05:00",
|
12
|
+
"test": null,
|
13
|
+
"activated_on": null,
|
14
|
+
"cancelled_on": null,
|
15
|
+
"trial_days": 0,
|
16
|
+
"trial_ends_on": null,
|
17
|
+
"decorated_return_url": "http://yourapp.com?charge_id=455696195",
|
18
|
+
"confirmation_url": "https://apple.myshopify.com/admin/charges/455696195/confirm_recurring_application_charge?signature=BAh7BzoHaWRpBENfKRs6EmF1dG9fYWN0aXZhdGVG--679000481979aae18d5e349f712aab6fb053a1ff"
|
19
|
+
}
|
20
|
+
}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
{
|
2
|
+
"usage_charge": {
|
3
|
+
"id": 1034618208,
|
4
|
+
"description": "Super Mega Plan 1000 emails",
|
5
|
+
"price": "1.00",
|
6
|
+
"created_at": "2020-01-14T10:43:06-05:00",
|
7
|
+
"billing_on": "2018-09-04",
|
8
|
+
"balance_used": 0.0,
|
9
|
+
"balance_remaining": 100.0,
|
10
|
+
"risk_level": 0
|
11
|
+
}
|
12
|
+
}
|