Sha256: 43e258d4bc40d5521998629b7661db36601ec54b8e84cc10f0875fdf0c733af4

Contents?: true

Size: 1.2 KB

Versions: 3

Compression:

Stored size: 1.2 KB

Contents

# frozen_string_literal: true
$:.unshift(File.dirname(__FILE__))
require 'active_resource'
require 'active_support/core_ext/class/attribute_accessors'
require 'digest/md5'
require 'base64'
require 'active_resource/detailed_log_subscriber'
require 'shopify_api/limits'
require 'shopify_api/api_version'
require 'shopify_api/meta'
require 'active_resource/json_errors'
require 'shopify_api/paginated_collection'
require 'shopify_api/disable_prefix_check'

module ShopifyAPI
  include Limits
end

require 'shopify_api/events'
require 'shopify_api/metafields'
require 'shopify_api/countable'
require 'shopify_api/resources'
require 'shopify_api/session'
require 'shopify_api/api_access'
require 'shopify_api/message_enricher'
require 'shopify_api/connection'
require 'shopify_api/pagination_link_headers'
require 'shopify_api/graphql'
require 'shopify_api/graphql/railtie' if defined?(Rails)

if ShopifyAPI::Base.respond_to?(:connection_class)
  ShopifyAPI::Base.connection_class = ShopifyAPI::Connection
else
  require 'active_resource/connection_ext'
end

if ENV["SHOPIFY_LOG_PATH"]
  ActiveResource::Base.logger = Logger.new(ENV["SHOPIFY_LOG_PATH"])
  ActiveResource::DetailedLogSubscriber.attach_to(:active_resource_detailed)
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
shopify_api-9.4.1 lib/shopify_api.rb
shopify_api-9.4.0 lib/shopify_api.rb
shopify_api-9.3.0 lib/shopify_api.rb