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 d4eee5b commit f8c3feeCopy full SHA for f8c3fee
UPGRADING.md
@@ -3,7 +3,7 @@ Upgrading Grape
3
4
### Upgrading to >= 1.2.0
5
6
-### Changes in the Grape::API class
+#### Changes in the Grape::API class
7
8
In an effort to make APIs re-mountable, The class `Grape::API` no longer refers to an API instance,
9
rather, what used to be `Grape::API` is now `Grape::API::Instance` and `Grape::API` was replaced
@@ -21,7 +21,7 @@ class Twitter::API < Grape::API
21
rescue_from :all do |e|
22
# version prior to 1.2.0
23
Rack::Response.new([ e.message ], 500, { 'Content-type' => 'text/error' }).finish
24
- # 1.2.0 version
+ # 1.2.0 version
25
Rack::Response.new([ e.message ], 500, { 'Content-type' => 'text/error' })
26
end
27
0 commit comments