Parent

Methods

Class/Module Index [+]

Quicksearch

Backup::Database::Base

Public Class Methods

new(model) click to toggle source

Creates a new instance of the MongoDB database object

  • Called using super(model) from subclasses *

# File lib/backup/database/base.rb, line 11
def initialize(model)
  @model = model
  load_defaults!
end

Public Instance Methods

perform!() click to toggle source

Super method for all child (database) objects. Every database object's perform! method should call super before anything else to prepare

# File lib/backup/database/base.rb, line 19
def perform!
  prepare!
  log!
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.