module ShopifyApp::SessionStorage
def with_shopify_session(&block)
def with_shopify_session(&block) ShopifyAPI::Auth::Session.temp(shop: shopify_domain, access_token: shopify_token) do |session| block.call(session) end end
def with_shopify_session(&block) ShopifyAPI::Auth::Session.temp(shop: shopify_domain, access_token: shopify_token) do |session| block.call(session) end end