fulfillment_order_test_helper.rb 356 B

12345678
  1. # frozen_string_literal: true
  2. module FulfillmentOrderTestHelper
  3. def url_prefix_for_activated_session_for(version)
  4. available_version = ShopifyAPI::Session.new(domain: 'shop2.myshopify.com', token: 'token2', api_version: version)
  5. ShopifyAPI::Base.activate_session(available_version)
  6. "https://shop2.myshopify.com/admin/api/#{version}"
  7. end
  8. end