Class: ShopifyApp::AccessScopes::ShopStrategy

Inherits:
Object
  • Object
show all
Defined in:
lib/shopify_app/access_scopes/shop_strategy.rb

Class Method Summary collapse

Class Method Details

.update_access_scopes?(shop_domain) ⇒ Boolean

Returns:

  • (Boolean)


7
8
9
10
# File 'lib/shopify_app/access_scopes/shop_strategy.rb', line 7

def update_access_scopes?(shop_domain)
  shop_access_scopes = shop_access_scopes(shop_domain)
  configuration_access_scopes != shop_access_scopes
end