Sha256: bee90b8eb7dadc20f0b20e478ab5351e08d8be6ab3d007282e288d3ecbca61d9

Contents?: true

Size: 356 Bytes

Versions: 9

Compression:

Stored size: 356 Bytes

Contents

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

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
shopify_api-9.5.2 test/fulfillment_order_test_helper.rb
ruby_shopify_api-1.2.0 test/fulfillment_order_test_helper.rb
ruby_shopify_api-1.1.0 test/fulfillment_order_test_helper.rb
ruby_shopify_api-1.0.0 test/fulfillment_order_test_helper.rb
shopify_api-9.5.1 test/fulfillment_order_test_helper.rb
shopify_api-9.5 test/fulfillment_order_test_helper.rb
shopify_api-9.4.1 test/fulfillment_order_test_helper.rb
shopify_api-9.4.0 test/fulfillment_order_test_helper.rb
shopify_api-9.3.0 test/fulfillment_order_test_helper.rb