Class: Backup::Configuration::Storage::FTP
- Defined in:
- lib/backup/configuration/storage/ftp.rb
Class Attribute Summary collapse
-
.ip ⇒ Object
Server IP Address and FTP port.
-
.passive_mode ⇒ Object
use passive mode?.
-
.password ⇒ Object
Server credentials.
-
.path ⇒ Object
Path to store backups to.
-
.port ⇒ Object
Server IP Address and FTP port.
-
.username ⇒ Object
Server credentials.
Method Summary
Methods inherited from Base
Methods included from Helpers
#clear_defaults!, #load_defaults!
Class Attribute Details
.ip ⇒ Object
Server IP Address and FTP port
15 16 17 |
# File 'lib/backup/configuration/storage/ftp.rb', line 15 def ip @ip end |
.passive_mode ⇒ Object
use passive mode?
23 24 25 |
# File 'lib/backup/configuration/storage/ftp.rb', line 23 def passive_mode @passive_mode end |
.password ⇒ Object
Server credentials
11 12 13 |
# File 'lib/backup/configuration/storage/ftp.rb', line 11 def password @password end |
.path ⇒ Object
Path to store backups to
19 20 21 |
# File 'lib/backup/configuration/storage/ftp.rb', line 19 def path @path end |
.port ⇒ Object
Server IP Address and FTP port
15 16 17 |
# File 'lib/backup/configuration/storage/ftp.rb', line 15 def port @port end |
.username ⇒ Object
Server credentials
11 12 13 |
# File 'lib/backup/configuration/storage/ftp.rb', line 11 def username @username end |