Namespace

Methods

Class/Module Index [+]

Quicksearch

Backup::Storage::SCP

Attributes

ip[RW]

Server IP Address and SCP port

password[RW]

Server credentials

port[RW]

Server IP Address and SCP 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/scp.rb, line 16
def initialize(model, storage_id = nil)
  super

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

[Validate]

Generated with the Darkfish Rdoc Generator 2.