Sha256: 18c1dbacb5d2598da943417a1f3aa7d01bfbcffe13f3fee1124155831162eece
Contents?: true
Size: 178 Bytes
Versions: 13
Compression:
Stored size: 178 Bytes
Contents
json.array!(@products) do |product| json.extract! product, :id, :name, :code, :price, :category_id, :created_at, :updated_at json.url product_url(product, format: :json) end
Version data entries
13 entries across 13 versions & 1 rubygems