README.md in pg-aws_rds_iam-0.3.0 vs README.md in pg-aws_rds_iam-0.3.1
- old
+ new
@@ -101,10 +101,10 @@
If the default authentication token generator doesn't meet your needs, you can register an alternative with
```ruby
PG::AWS_RDS_IAM.auth_token_generators.add :custom do
- PG::AWS_RDS_IAM::AuthTokenGenerator.new(credentials: ..., region: ...)
+ PG::AWS_RDS_IAM::AuthTokenGenerator.new(credentials: "...", region: "...")
end
```
To use this alternative authentication token generator, set the `aws_rds_iam_auth_token_generator` connection parameter to the name you registered it with (`custom`, in this example).