class Backup::Storages::AmazonS3::Object

Public Class Methods

new(storage, aws_s3_ruby_bucket, id) click to toggle source
Calls superclass method Backup::Storages::Base::Object::new
# File lib/backup-agent/storages/amazon-s3.rb, line 41
def initialize(storage, aws_s3_ruby_bucket, id)
  super(storage, id)
  @aws_s3_ruby_bucket = aws_s3_ruby_bucket
end

Public Instance Methods

last_modified() click to toggle source
# File lib/backup-agent/storages/amazon-s3.rb, line 46
def last_modified
  @aws_s3_ruby_bucket.object(id).last_modified.utc
end