Class: PG::AWS_RDS_IAM::ConnectionInfo::ActiveRecordConfigurationHash
- Inherits:
-
Object
- Object
- PG::AWS_RDS_IAM::ConnectionInfo::ActiveRecordConfigurationHash
- Defined in:
- lib/pg/aws_rds_iam/connection_info/active_record_configuration_hash.rb
Instance Method Summary collapse
- #auth_token_generator_name ⇒ Object
- #host ⇒ Object
-
#initialize(configuration_hash) ⇒ ActiveRecordConfigurationHash
constructor
A new instance of ActiveRecordConfigurationHash.
- #port ⇒ Object
- #user ⇒ Object
Constructor Details
#initialize(configuration_hash) ⇒ ActiveRecordConfigurationHash
Returns a new instance of ActiveRecordConfigurationHash.
7 8 9 |
# File 'lib/pg/aws_rds_iam/connection_info/active_record_configuration_hash.rb', line 7 def initialize(configuration_hash) @configuration_hash = configuration_hash end |
Instance Method Details
#auth_token_generator_name ⇒ Object
11 12 13 |
# File 'lib/pg/aws_rds_iam/connection_info/active_record_configuration_hash.rb', line 11 def auth_token_generator_name @configuration_hash[:aws_rds_iam_auth_token_generator] end |
#host ⇒ Object
19 20 21 |
# File 'lib/pg/aws_rds_iam/connection_info/active_record_configuration_hash.rb', line 19 def host @configuration_hash[:host] end |
#port ⇒ Object
23 24 25 |
# File 'lib/pg/aws_rds_iam/connection_info/active_record_configuration_hash.rb', line 23 def port @configuration_hash[:port] end |
#user ⇒ Object
15 16 17 |
# File 'lib/pg/aws_rds_iam/connection_info/active_record_configuration_hash.rb', line 15 def user @configuration_hash[:username] end |