Sha256: 2898cf38a050abbc881b900d00e985952474bd771df0ffed0561b0d61ae8987f
Contents?: true
Size: 712 Bytes
Versions: 13
Compression:
Stored size: 712 Bytes
Contents
collection(@some_articles) do |collection| collection.values do |values| values.id "http://example.com/json" values.title "Feed" values.updated Time.now values.author { values.name "John Doe" values.email "joedoe@example.com" } values.author { values.name "Foo Bar" values.email "foobar@example.com" } end collection.link("next" , "http://a.link.com/next") collection.link("previous", "http://a.link.com/previous") collection.members(:root => "articles") do |member, article| partial("feed_member", :locals => {:member => member, :article => article}) end end
Version data entries
13 entries across 12 versions & 3 rubygems