Module: ShopifyApp::EnsureInstalled
Instance Method Summary
collapse
add_app_bridge_redirect_url_header
Instance Method Details
#current_shopify_domain ⇒ Object
29
30
31
32
33
34
35
36
37
38
|
# File 'app/controllers/concerns/shopify_app/ensure_installed.rb', line 29
def current_shopify_domain
if params[:shop].blank?
ShopifyApp::Logger.info("Could not identify installed store from current_shopify_domain")
return
end
@shopify_domain ||= ShopifyApp::Utils.sanitize_shop_domain(params[:shop])
ShopifyApp::Logger.info("Installed store: #{@shopify_domain} - deduced from Shopify Admin params")
@shopify_domain
end
|
#installed_shop_session ⇒ Object