Method: Backup::Syncer::RSync::Push#initialize

Defined in:
lib/backup/syncer/rsync/push.rb

#initialize(syncer_id = nil) ⇒ Push

Returns a new instance of Push.



104
105
106
107
108
109
110
# File 'lib/backup/syncer/rsync/push.rb', line 104

def initialize(syncer_id = nil)
  super

  @mode ||= :ssh
  @port ||= mode == :rsync_daemon ? 873 : 22
  @compress ||= false
end