module ShopifyAPIRetry

Constants

VERSION

Public Class Methods

config() click to toggle source
# File lib/shopify_api_retry.rb, line 84
def self.config
  @config
end
configure() { |config| ... } click to toggle source
# File lib/shopify_api_retry.rb, line 78
def self.configure
  return @config unless block_given?
  yield @config
  nil
end
retry(cfg = nil, &block) click to toggle source
# File lib/shopify_api_retry.rb, line 201
def retry(cfg = nil, &block)
  warn "#{name}.retry has been deprecated, use ShopifyAPIRetry::REST.retry or ShopifyAPIRetry::GraphQL.retry"
  REST.new(cfg).retry(&block)
end

Private Instance Methods

retry(cfg = nil, &block) click to toggle source
# File lib/shopify_api_retry.rb, line 201
def retry(cfg = nil, &block)
  warn "#{name}.retry has been deprecated, use ShopifyAPIRetry::REST.retry or ShopifyAPIRetry::GraphQL.retry"
  REST.new(cfg).retry(&block)
end