Class: Outback::Source

Inherits:
Object show all
Includes:
Configurable, Logging
Defined in:
lib/outback/source.rb

Direct Known Subclasses

DirectorySource, MysqlSource

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Logging

#logger

Methods included from Configurable

#attr_setter, included

Constructor Details

#initialize(backup_name) ⇒ Source

Returns a new instance of Source.



8
9
10
# File 'lib/outback/source.rb', line 8

def initialize(backup_name)
  @backup_name = backup_name
end

Instance Attribute Details

#backup_nameObject (readonly)

Returns the value of attribute backup_name.



6
7
8
# File 'lib/outback/source.rb', line 6

def backup_name
  @backup_name
end

Instance Method Details

#create_archive(backup_name, timestamp, tmpdir) ⇒ Object

Raises:

  • (NotImplementedError)


12
13
14
# File 'lib/outback/source.rb', line 12

def create_archive(backup_name, timestamp, tmpdir)
  raise NotImplementedError
end