Class: Nvoi::External::Database::Types::Credentials

Inherits:
Struct
  • Object
show all
Defined in:
lib/nvoi/external/database/types.rb

Overview

Parsed credentials from database URL

Instance Attribute Summary collapse

Instance Attribute Details

#databaseObject

Returns the value of attribute database

Returns:

  • (Object)

    the current value of database



8
9
10
# File 'lib/nvoi/external/database/types.rb', line 8

def database
  @database
end

#hostObject

Returns the value of attribute host

Returns:

  • (Object)

    the current value of host



8
9
10
# File 'lib/nvoi/external/database/types.rb', line 8

def host
  @host
end

#host_pathObject

Returns the value of attribute host_path

Returns:

  • (Object)

    the current value of host_path



8
9
10
# File 'lib/nvoi/external/database/types.rb', line 8

def host_path
  @host_path
end

#passwordObject

Returns the value of attribute password

Returns:

  • (Object)

    the current value of password



8
9
10
# File 'lib/nvoi/external/database/types.rb', line 8

def password
  @password
end

#pathObject

Returns the value of attribute path

Returns:

  • (Object)

    the current value of path



8
9
10
# File 'lib/nvoi/external/database/types.rb', line 8

def path
  @path
end

#portObject

Returns the value of attribute port

Returns:

  • (Object)

    the current value of port



8
9
10
# File 'lib/nvoi/external/database/types.rb', line 8

def port
  @port
end

#userObject

Returns the value of attribute user

Returns:

  • (Object)

    the current value of user



8
9
10
# File 'lib/nvoi/external/database/types.rb', line 8

def user
  @user
end