Skip to content

Commit 4b40eb0

Browse files
authored
chore: Update README with service usage (#189)
Signed-off-by: Valentin Kiselev <mrexox@evilmartians.com>
1 parent 22c2532 commit 4b40eb0

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -409,6 +409,13 @@ services:
409409
410410
If you don't specify `key`, `salt`, `endpoint`, or `signature_size`, they are inherited from the global configuration.
411411

412+
Pass the `service` option to `url_for` and `info_url_for`:
413+
414+
```ruby
415+
Imgproxy.url_for(image, service: :pro)
416+
Imgproxy.info_url_for(image, service: :pro)
417+
```
418+
412419
## Contributing
413420

414421
Bug reports and pull requests are welcome on GitHub at https://github.com/imgproxy/imgproxy.rb.

0 commit comments

Comments
 (0)