Class: ShopifyAPI::OAuth

Inherits:
Base show all
Defined in:
lib/shopify_api/resources/o_auth.rb

Class Method Summary collapse

Methods inherited from Base

activate_session, #as_json, clear_session, #encode, #headers, init_prefix, init_prefix_explicit, #persisted?

Methods included from Countable

#count

Methods inherited from ActiveResource::Base

delete, headers

Class Method Details

.revokeObject



10
11
12
13
14
15
# File 'lib/shopify_api/resources/o_auth.rb', line 10

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