We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 540bef3 commit c7fc024Copy full SHA for c7fc024
README.md
@@ -49,11 +49,11 @@ get 'product/:id' do
49
end
50
```
51
52
-Presenting collections works the same way.
+Presenting collections works the same way. The following example returns an embedded set of products in the HAL Hypermedia format.
53
54
```ruby
55
module ProductsRepresenter
56
- include Roar::Representer::JSON
+ include Roar::Representer::JSON::HAL
57
include Roar::Representer::Feature::Hypermedia
58
include Grape::Roar::Representer
59
0 commit comments