Class: Bard::Backup::CachedLocalBackhoe

Inherits:
Struct
  • Object
show all
Defined in:
lib/bard/backup/cached_local_backhoe.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#nowObject

Returns the value of attribute now

Returns:

  • (Object)

    the current value of now



5
6
7
# File 'lib/bard/backup/cached_local_backhoe.rb', line 5

def now
  @now
end

#s3_dirObject

Returns the value of attribute s3_dir

Returns:

  • (Object)

    the current value of s3_dir



5
6
7
# File 'lib/bard/backup/cached_local_backhoe.rb', line 5

def s3_dir
  @s3_dir
end

Class Method Details

.call(*args) ⇒ Object



6
7
8
# File 'lib/bard/backup/cached_local_backhoe.rb', line 6

def self.call *args
  new(*args).call
end

Instance Method Details

#callObject



10
11
12
# File 'lib/bard/backup/cached_local_backhoe.rb', line 10

def call
  s3_dir.put path
end