Class: ShopifyApp::AccessScopes::ShopStrategy

Inherits:
Object
  • Object
show all
Defined in:
lib/ruby_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/ruby_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