Class: Kandata::Database::ConnectionInfo
- Inherits:
-
Object
- Object
- Kandata::Database::ConnectionInfo
- Defined in:
- lib/kandata/database/connection_info.rb
Overview
ignore :reek:Attribute:
Class Attribute Summary collapse
-
.database_name ⇒ Object
Returns the value of attribute database_name.
-
.host ⇒ Object
Returns the value of attribute host.
-
.user_name ⇒ Object
Returns the value of attribute user_name.
Class Method Summary collapse
Class Attribute Details
.database_name ⇒ Object
Returns the value of attribute database_name.
8 9 10 |
# File 'lib/kandata/database/connection_info.rb', line 8 def database_name @database_name end |
.host ⇒ Object
Returns the value of attribute host.
8 9 10 |
# File 'lib/kandata/database/connection_info.rb', line 8 def host @host end |
.user_name ⇒ Object
Returns the value of attribute user_name.
8 9 10 |
# File 'lib/kandata/database/connection_info.rb', line 8 def user_name @user_name end |
Class Method Details
.host_and_user ⇒ Object
15 16 17 |
# File 'lib/kandata/database/connection_info.rb', line 15 def self.host_and_user { host: @host, username: @user_name } end |