Skip to content

Commit

Permalink
Fix validation contract documentation (#260)
Browse files Browse the repository at this point in the history
  • Loading branch information
tsubery authored and pkuczynski committed Jan 4, 2020
1 parent 41fb16b commit 565b665
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
### Bug fixes

* Fix missing new_ostruct_member in Ruby 2.7 ([#255](https://github.com/railsconfig/config/pull/255))
* Fix validation contract documentation ([#260](https://github.com/railsconfig/config/pull/260))

### Changes

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ class ConfigContract < Dry::Validation::Contract
end
Config.setup do |config|
config.validation_contract = ConfigContract
config.validation_contract = ConfigContract.new
end
```

Expand Down

0 comments on commit 565b665

Please sign in to comment.