Skip to content

Commit

Permalink
Merge pull request #1809 from darren987469/adjust_style_in_readme
Browse files Browse the repository at this point in the history
Add white space between brackets
  • Loading branch information
dblock authored Oct 28, 2018
2 parents ca80feb + e323be4 commit 3bb835a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1655,7 +1655,7 @@ params do
optional :beer
optional :wine
optional :juice
exactly_one_of :beer, :wine, :juice, message: {exactly_one: "are missing, exactly one parameter is required", mutual_exclusion: "are mutually exclusive, exactly one parameter is required"}
exactly_one_of :beer, :wine, :juice, message: { exactly_one: "are missing, exactly one parameter is required", mutual_exclusion: "are mutually exclusive, exactly one parameter is required" }
end
```

Expand All @@ -1674,7 +1674,7 @@ end

```ruby
params do
requires :int, type: {value: Integer, message: "type cast is invalid" }
requires :int, type: { value: Integer, message: "type cast is invalid" }
end
```

Expand Down

0 comments on commit 3bb835a

Please sign in to comment.