Sha256: c0aada1fbe86cd39918346c566b3abd49b2218a29773e68bf3bb3f5df31c3008

Contents?: true

Size: 465 Bytes

Versions: 10

Compression:

Stored size: 465 Bytes

Contents

# frozen_string_literal: true

# This resource is deprecated and will be removed in a future version of this gem.
# Use ShopifyAPI::ApiPermission.destroy instead

module ShopifyAPI
  class OAuth < Base
    self.collection_name = 'oauth'

    def self.revoke
      warn '[DEPRECATED] ShopifyAPI::OAuth#revoke is deprecated and will be removed in a future version. ' \
        'Use ShopifyAPI::ApiPermission#destroy instead.'

      delete(:revoke)
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
shopify_api-6.0.0 lib/shopify_api/resources/o_auth.rb
shopify_api-5.2.4 lib/shopify_api/resources/o_auth.rb
shopify_api-5.2.3 lib/shopify_api/resources/o_auth.rb
shopify_api-5.2.2 lib/shopify_api/resources/o_auth.rb
shopify_api-5.2.1 lib/shopify_api/resources/o_auth.rb
shopify_api-5.2.0 lib/shopify_api/resources/o_auth.rb
shopify_api-5.1.0 lib/shopify_api/resources/o_auth.rb
shopify_api-5.0.0 lib/shopify_api/resources/o_auth.rb
shopify_api-4.13.0 lib/shopify_api/resources/o_auth.rb
shopify_api-4.12.0 lib/shopify_api/resources/o_auth.rb