Class: Backup::Configuration::Storage::SFTP

Inherits:
Base
  • Object
show all
Defined in:
lib/backup/configuration/storage/sftp.rb

Class Attribute Summary collapse

Method Summary

Methods inherited from Base

defaults

Methods included from Helpers

#clear_defaults!, #load_defaults!

Class Attribute Details

.ipObject

Server IP Address and SFTP port



15
16
17
# File 'lib/backup/configuration/storage/sftp.rb', line 15

def ip
  @ip
end

.passwordObject

Server credentials



11
12
13
# File 'lib/backup/configuration/storage/sftp.rb', line 11

def password
  @password
end

.pathObject

Path to store backups to



19
20
21
# File 'lib/backup/configuration/storage/sftp.rb', line 19

def path
  @path
end

.portObject

Server IP Address and SFTP port



15
16
17
# File 'lib/backup/configuration/storage/sftp.rb', line 15

def port
  @port
end

.usernameObject

Server credentials



11
12
13
# File 'lib/backup/configuration/storage/sftp.rb', line 11

def username
  @username
end