Class: Backup::Configuration::Storage::FTP

Inherits:
Base
  • Object
show all
Defined in:
lib/backup/configuration/storage/ftp.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 FTP port



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

def ip
  @ip
end

.passive_modeObject

use passive mode?



23
24
25
# File 'lib/backup/configuration/storage/ftp.rb', line 23

def passive_mode
  @passive_mode
end

.passwordObject

Server credentials



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

def password
  @password
end

.pathObject

Path to store backups to



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

def path
  @path
end

.portObject

Server IP Address and FTP port



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

def port
  @port
end

.usernameObject

Server credentials



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

def username
  @username
end