Skip to content

Commit 70d4923

Browse files
authored
Update README.md
1 parent 556bdc9 commit 70d4923

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,17 @@ user_info = ConvertApi.user
107107
puts user_info['SecondsLeft']
108108
```
109109

110+
### Alternative domain
111+
112+
Set config `base_uri` attribute to use other service domains. Dedicated to the region [domain list](https://www.convertapi.com/doc/servers-location).
113+
114+
```ruby
115+
ConvertApi.configure do |config|
116+
config.base_uri = URI('https://v2.convertapi.com/')
117+
end
118+
```
119+
120+
110121
### More examples
111122

112123
Find more advanced examples in the [examples/](https://github.com/ConvertAPI/convertapi-ruby/tree/master/examples) folder.

0 commit comments

Comments
 (0)