Sha256: 0346a4c51221fdd5ecc57bb6f13a32dafa70d07e51e8506c6acebd4a7302173e
Contents?: true
Size: 216 Bytes
Versions: 45
Compression:
Stored size: 216 Bytes
Contents
# frozen_string_literal: true class ProductsController < AuthenticatedController def index @products = ShopifyAPI::Product.find(:all, params: { limit: 10 }) render(json: { products: @products }) end end
Version data entries
45 entries across 39 versions & 2 rubygems