Skip to content

Commit 476cefa

Browse files
horghclaude
andcommitted
Fix README documentation issues
* Fixed code fence with extra backtick * Corrected response class name to Minfraud::HTTPService::Response * Added missing InvalidInputError to exceptions list * Updated copyright year to 2026 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent debc46e commit 476cefa

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ Minfraud.configure do |c|
4848
c.license_key = 'your_license_key'
4949
c.enable_validation = true
5050
end
51-
````
51+
```
5252

5353
To use the Sandbox web service instead of the production web service, you can provide the host:
5454

@@ -69,8 +69,8 @@ creating the object.
6969

7070
After populating the object, call the method for the minFraud endpoint you
7171
want to use: `#score`, `#insights`, or `#factors`. The returned value is a
72-
`MinFraud::Response` object. You can access the response model through its
73-
`#body` attribute.
72+
`Minfraud::HTTPService::Response` object. You can access the response model
73+
through its `#body` attribute.
7474

7575
An exception will be thrown for critical errors. You should check for
7676
`warnings` related to your inputs after a request.
@@ -245,6 +245,8 @@ this functionality.
245245

246246
The gem supplies several distinct exception-types:
247247

248+
* `InvalidInputError` - Raised if an input value is invalid when client-side
249+
validation is enabled
248250
* `RequestFormatError` - Raised if an unknown key is provided to the
249251
`Minfraud::Assessments` constructor
250252
* `ClientError` - Raised if the IP address is absent, reserved, or the JSON
@@ -295,7 +297,7 @@ This API uses [Semantic Versioning](https://semver.org/).
295297

296298
Copyright (c) 2016-2020 kushnir.yb.
297299

298-
Copyright (c) 2020-2025 MaxMind, Inc.
300+
Copyright (c) 2020-2026 MaxMind, Inc.
299301

300302
The gem is available as open source under the terms of the [MIT
301303
License](https://opensource.org/licenses/MIT).

0 commit comments

Comments
 (0)