Class: DataMapper::S3::InstanceBucketConnector
Instance Method Summary
collapse
#initialize
Instance Method Details
#get_s3_object(instance) ⇒ Object
22
23
24
25
|
# File 'lib/dm-s3.rb', line 22
def get_s3_object(instance)
s3(instance)
super
end
|
#s3(instance) ⇒ Object
32
33
34
|
# File 'lib/dm-s3.rb', line 32
def s3(instance)
@s3.set_current_bucket_to instance.s3_bucket
end
|
#store(instance, file, options) ⇒ Object
27
28
29
30
|
# File 'lib/dm-s3.rb', line 27
def store(instance, file, options)
s3(instance)
super
end
|