Sha256: 16b42c3962903440e8ac6e736da0a38dc156293568908d16949dedc780fd6fd0

Contents?: true

Size: 292 Bytes

Versions: 10

Compression:

Stored size: 292 Bytes

Contents

collection(@items) do |collection|

  collection.link "basket", baskets_url
  
  collection.members do |member, item|
    member.link :self, item_url(item)
    member.values { |values|
      values.id     item.id
      values.name   item.name
      values.price  item.price
    }
  end
  
end

Version data entries

10 entries across 5 versions & 2 rubygems

Version Path
restfulie-nosqlite-1.0.4 full-examples/rest_from_scratch/part_2/app/views/items/index.tokamak
restfulie-nosqlite-1.0.4 full-examples/rest_from_scratch/part_3/app/views/items/index.tokamak
restfulie-1.1.1 full-examples/rest_from_scratch/part_3/app/views/items/index.tokamak
restfulie-1.1.1 full-examples/rest_from_scratch/part_2/app/views/items/index.tokamak
restfulie-1.1.0 full-examples/rest_from_scratch/part_2/app/views/items/index.tokamak
restfulie-1.1.0 full-examples/rest_from_scratch/part_3/app/views/items/index.tokamak
restfulie-nosqlite-1.0.3 full-examples/rest_from_scratch/part_2/app/views/items/index.tokamak
restfulie-nosqlite-1.0.3 full-examples/rest_from_scratch/part_3/app/views/items/index.tokamak
restfulie-1.0.3 full-examples/rest_from_scratch/part_3/app/views/items/index.tokamak
restfulie-1.0.3 full-examples/rest_from_scratch/part_2/app/views/items/index.tokamak