Class: BackupRestore::DatabaseConfiguration

Inherits:
Struct
  • Object
show all
Defined in:
lib/backup_restore.rb

Instance Attribute Summary collapse

Instance Attribute Details

#databaseObject

Returns the value of attribute database

Returns:

  • (Object)

    the current value of database



123
124
125
# File 'lib/backup_restore.rb', line 123

def database
  @database
end

#hostObject

Returns the value of attribute host

Returns:

  • (Object)

    the current value of host



123
124
125
# File 'lib/backup_restore.rb', line 123

def host
  @host
end

#passwordObject

Returns the value of attribute password

Returns:

  • (Object)

    the current value of password



123
124
125
# File 'lib/backup_restore.rb', line 123

def password
  @password
end

#portObject

Returns the value of attribute port

Returns:

  • (Object)

    the current value of port



123
124
125
# File 'lib/backup_restore.rb', line 123

def port
  @port
end

#usernameObject

Returns the value of attribute username

Returns:

  • (Object)

    the current value of username



123
124
125
# File 'lib/backup_restore.rb', line 123

def username
  @username
end