Sha256: 12e638ca5975b93fe882bbb786da63a273a4e02e33e05ec9ec111b9598dabbf8
Contents?: true
Size: 329 Bytes
Versions: 36
Compression:
Stored size: 329 Bytes
Contents
# frozen_string_literal: true class HomeController < AuthenticatedController include ShopifyApp::ShopAccessScopesVerification before_action :set_host def index @products = ShopifyAPI::Product.all(limit: 10) @webhooks = ShopifyAPI::Webhook.all end private def set_host @host = params[:host] end end
Version data entries
36 entries across 36 versions & 1 rubygems