Methods

Class/Module Index [+]

Quicksearch

Backup::Storage::SFTP

Attributes

ip[RW]

Server IP Address and SFTP port

password[RW]

Server credentials

port[RW]

Server IP Address and SFTP port

ssh_options[RW]

Server credentials

username[RW]

Server credentials

Public Class Methods

new(model, storage_id = nil) click to toggle source
# File lib/backup/storage/sftp.rb, line 15
def initialize(model, storage_id = nil)
  super

  @ssh_options ||= {}
  @port        ||= 22
  @path        ||= 'backups'
  path.sub!(/^~\//, '')
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.