You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,7 +35,7 @@ end
35
35
36
36
### Use Grape's Present
37
37
38
-
You can use Grape's `present` keyword after including Grape::Roar::Presenter into a representer module.
38
+
You can use Grape's `present` keyword after including Grape::Roar::Representer into a representer module.
39
39
40
40
```ruby
41
41
moduleProductRepresenter
@@ -72,9 +72,9 @@ get 'products' do
72
72
end
73
73
```
74
74
75
-
### Accessing the Request Inside a Presenter
75
+
### Accessing the Request Inside a Representer
76
76
77
-
The formatter invokes `to_json` on presented objects and provides access to the requesting environment via the `env` option. The following example renders a full request URL in a presenter.
77
+
The formatter invokes `to_json` on presented objects and provides access to the requesting environment via the `env` option. The following example renders a full request URL in a representer.
0 commit comments