Class: Nvoi::External::Database::Types::Credentials
- Inherits:
-
Struct
- Object
- Struct
- Nvoi::External::Database::Types::Credentials
- Defined in:
- lib/nvoi/external/database/types.rb
Overview
Parsed credentials from database URL
Instance Attribute Summary collapse
-
#database ⇒ Object
Returns the value of attribute database.
-
#host ⇒ Object
Returns the value of attribute host.
-
#host_path ⇒ Object
Returns the value of attribute host_path.
-
#password ⇒ Object
Returns the value of attribute password.
-
#path ⇒ Object
Returns the value of attribute path.
-
#port ⇒ Object
Returns the value of attribute port.
-
#user ⇒ Object
Returns the value of attribute user.
Instance Attribute Details
#database ⇒ Object
Returns the value of attribute database
8 9 10 |
# File 'lib/nvoi/external/database/types.rb', line 8 def database @database end |
#host ⇒ Object
Returns the value of attribute host
8 9 10 |
# File 'lib/nvoi/external/database/types.rb', line 8 def host @host end |
#host_path ⇒ Object
Returns the value of attribute host_path
8 9 10 |
# File 'lib/nvoi/external/database/types.rb', line 8 def host_path @host_path end |
#password ⇒ Object
Returns the value of attribute password
8 9 10 |
# File 'lib/nvoi/external/database/types.rb', line 8 def password @password end |
#path ⇒ Object
Returns the value of attribute path
8 9 10 |
# File 'lib/nvoi/external/database/types.rb', line 8 def path @path end |
#port ⇒ Object
Returns the value of attribute port
8 9 10 |
# File 'lib/nvoi/external/database/types.rb', line 8 def port @port end |
#user ⇒ Object
Returns the value of attribute user
8 9 10 |
# File 'lib/nvoi/external/database/types.rb', line 8 def user @user end |