mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
10 lines
237 B
Ruby
10 lines
237 B
Ruby
def aws_storage
|
|
@storage ||= begin
|
|
storage = Fog::Storage::new({
|
|
:provider => 'AWS',
|
|
:aws_access_key_id => '',
|
|
:aws_secret_access_key => ''})
|
|
storage.stub(:request) { |hash| hash }
|
|
storage
|
|
end
|
|
end
|