Sha256: 7c7c238e564493cc8369a846c99d7c71eba6bfe74af1612c645eb5339c3de538

Contents?: true

Size: 503 Bytes

Versions: 6

Compression:

Stored size: 503 Bytes

Contents

# frozen_string_literal: true

module PG
  module AWS_RDS_IAM
    module Connection
      def conndefaults
        super + [{
          keyword: "aws_rds_iam_auth_token_generator",
          envvar: nil,
          compiled: nil,
          val: nil,
          label: "AWS-RDS-IAM-auth-token-generator",
          dispchar: "",
          dispsize: 64
        }]
      end

      def parse_connect_args(*)
        AuthTokenInjector.call(super)
      end
    end

    private_constant :Connection
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
pg-aws_rds_iam-0.3.2 lib/pg/aws_rds_iam/connection.rb
pg-aws_rds_iam-0.3.1 lib/pg/aws_rds_iam/connection.rb
pg-aws_rds_iam-0.3.0 lib/pg/aws_rds_iam/connection.rb
pg-aws_rds_iam-0.2.0 lib/pg/aws_rds_iam/connection.rb
pg-aws_rds_iam-0.1.1 lib/pg/aws_rds_iam/connection.rb
pg-aws_rds_iam-0.1.0 lib/pg/aws_rds_iam/connection.rb