Skip to content

Commit

Permalink
docs: update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
matteoredz committed Mar 31, 2023
1 parent 4155a2b commit 69da767
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,9 @@ module MyApp
Rack::IdempotencyKey,
store: Rack::IdempotencyKey::MemoryStore.new,
routes: [
{ path: "/posts", method: "POST" },
{ path: "/posts/*", method: "PATCH" }
{ path: "/posts", method: "POST" },
{ path: "/posts/*", method: "PATCH" },
{ path: "/posts/*/comments", method: "POST" }
]
)
end
Expand Down Expand Up @@ -120,8 +121,9 @@ Each route entry must be compliant with what follows:

```ruby
routes: [
{ path: "/posts", method: "POST" },
{ path: "/posts/*", method: "PATCH" }
{ path: "/posts", method: "POST" },
{ path: "/posts/*", method: "PATCH" },
{ path: "/posts/*/comments", method: "POST" }
]
```

Expand Down

0 comments on commit 69da767

Please sign in to comment.