Sha256: 8625ebe8c803b4761d67f1df96c3d5cd240bcd9cdc69d516d952173e08dab31d
Contents?: true
Size: 595 Bytes
Versions: 22
Compression:
Stored size: 595 Bytes
Contents
module Rudy module Backups RTYPE = 'back'.freeze extend self extend Rudy::Metadata::ClassMethods include Rudy::Huxtable extend Rudy::Huxtable # Returns the most recent backup object for the given path def get(path) tmp = Rudy::Backup.new path backups = Rudy::Backups.list :path => path return nil unless backups.is_a?(Array) && !backups.empty? backups.first end def from_hash(h) Rudy::Backup.from_hash h end class NoDisk < Rudy::Error; end class NoBackup < Rudy::Error; end end end
Version data entries
22 entries across 22 versions & 1 rubygems