Sha256: 134e96d260c2ed3587db2fd6bae8e972c57e00ff5261ce6df80d0a3cf0c1c0cf
Contents?: true
Size: 355 Bytes
Versions: 16
Compression:
Stored size: 355 Bytes
Contents
# frozen_string_literal: true class HomeController < AuthenticatedController include ShopifyApp::ShopAccessScopesVerification before_action :set_host def index @products = ShopifyAPI::Product.find(:all, params: { limit: 10 }) @webhooks = ShopifyAPI::Webhook.find(:all) end private def set_host @host = params[:host] end end
Version data entries
16 entries across 16 versions & 2 rubygems