Toby Hede
7f13c75447
remove dependency on active_support's present? method
2013-07-26 15:25:49 +10:00
Paul Thornthwaite
acb52cbee9
[atmos] Updates reference to service
2013-01-07 20:53:24 +00:00
Michael Harrison
b6e4d81d7c
Changed Atmos::FIle.public_url so checks for existence of the file on storage on every call to the method minimising the potential for a 404 error
2012-10-24 10:53:59 +10:00
Michael Harrison
cbc78a22a8
Changed Atmos::FIle.public_url so returns nil if the file doesn't exist on the cloud storage. This brings the method in line with other storage implementations such as AWS and Rackspace
2012-10-23 13:40:03 +10:00
Michael Harrison
e054b855df
Changed Atmos::FIle.public_url so an exception is thrown if the file doesn't exist on the cloud storage
2012-10-22 19:33:59 +10:00
Michael Harrison
be9f885429
Rolled back deletion guard as some may be using the exception raised in their code
2012-10-22 16:28:45 +10:00
Michael Harrison
f714d16e50
Added file existence check before file deletion attempt
2012-10-17 14:53:53 +10:00
Michael Harrison
7c2fb4c6c0
Return nil on public_url if the file isn't present on the cloud storage
2012-10-17 13:40:41 +10:00
Michael Harrison
c9dd0eb5c2
Fix to resolve "objectid is required for this operation" error message when calling public_url
2012-10-17 13:33:42 +10:00
Michael Harrison
ba5b48a679
Fix to resolve "objectid is required for this operation" error message when calling public_url
2012-10-17 13:00:10 +10:00
Timur Alperovich
cc69d10c89
Add generic support for EMC Atmos.
...
Refactor ninefold to provide generic Atmos support. Add an additional
argument, when compared to ninefold, which is the endpoint. The
endpoint should be a full URL, e.g.
https://storage.provider.com:1337/atmos . The API path and port are
optional. If the port is not specified, it is inferred from the
protocol.
2012-09-04 10:45:39 -07:00