Sha256: ceeb5ad7e9530599823bcb311ab565c9d283c74cbc975bbb177f09684cc33e42
Contents?: true
Size: 152 Bytes
Versions: 2
Compression:
Stored size: 152 Bytes
Contents
json.array!(@products) do |product| json.extract! product, :id, :name, :code, :price, :category_id json.url product_url(product, format: :json) end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
restspec-0.0.2 | examples/store-api/app/views/products/index.json.jbuilder |
restspec-0.0.1 | examples/store-api/app/views/products/index.json.jbuilder |