Skip to content

Commit d2a4f6b

Browse files
committed
Presenters -> Representers
1 parent bf0a360 commit d2a4f6b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ end
3535

3636
### Use Grape's Present
3737

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.
3939

4040
```ruby
4141
module ProductRepresenter
@@ -72,9 +72,9 @@ get 'products' do
7272
end
7373
```
7474

75-
### Accessing the Request Inside a Presenter
75+
### Accessing the Request Inside a Representer
7676

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.
7878

7979
```ruby
8080
module ProductRepresenter

0 commit comments

Comments
 (0)