Skip to content
This repository has been archived by the owner on Jan 14, 2020. It is now read-only.

Commit

Permalink
Add region section to README
Browse files Browse the repository at this point in the history
  • Loading branch information
hjheath committed Dec 7, 2018
1 parent 9575e79 commit d497f9f
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,19 @@ Onfido.configure do |config|
config.logger = Logger.new(STDOUT)
config.open_timeout = 30
config.read_timeout = 80
config.region = nil # See https://documentation.onfido.com/#regions for supported regions
config.region = nil
end
```

### Regions

The gem will use the default region if no region is specified.

To specify the US region do:
`config.region = :us`

See https://documentation.onfido.com/#regions for supported regions.

## Usage

You can make API calls by using an instance of the `API` class:
Expand Down

0 comments on commit d497f9f

Please sign in to comment.