Sha256: e95f3debc91d9cd1ec3fd710b9c05640d92d58e1609ca1957b964271ec3ecc37
Contents?: true
Size: 453 Bytes
Versions: 16
Compression:
Stored size: 453 Bytes
Contents
# frozen_string_literal: true require 'graphql/client/http' module ShopifyAPI module GraphQL class HTTPClient < ::GraphQL::Client::HTTP def initialize(api_version) @api_version = api_version end def headers(_context) ShopifyAPI::Base.headers end def uri ShopifyAPI::Base.site.dup.tap do |uri| uri.path = @api_version.construct_graphql_path end end end end end
Version data entries
16 entries across 16 versions & 2 rubygems