|
@@ -1,8 +1,16 @@
|
|
|
|
+# 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
|
|
module ShopifyAPI
|
|
class OAuth < Base
|
|
class OAuth < Base
|
|
self.collection_name = 'oauth'
|
|
self.collection_name = 'oauth'
|
|
|
|
|
|
def self.revoke
|
|
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)
|
|
delete(:revoke)
|
|
end
|
|
end
|
|
end
|
|
end
|