Skip to content

Commit c87944b

Browse files
authored
Update UPGRADING.md
1 parent 7996660 commit c87944b

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

UPGRADING.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,17 @@ However, if experiencing problems, or relying on private methods and internal be
1414

1515
Note, this is particularly relevant if you are opening the class `Grape::API` for modification. This code:
1616

17+
**Deprecated**
1718
```ruby
1819
class Grape::API
19-
#your patched logic
20+
# your patched logic
2021
...
2122
end
2223
```
23-
24-
Needs to be modified into:
25-
24+
**New**
2625
```ruby
2726
class Grape::API::Instance
28-
#your patched logic
27+
# your patched logic
2928
...
3029
end
3130
```

0 commit comments

Comments
 (0)