Method: Fog::OpenStack::Storage::Files#all
- Defined in:
- lib/fog/openstack/storage/models/files.rb
#all(options = {}) ⇒ Object
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 |
# File 'lib/fog/openstack/storage/models/files.rb', line 16 def all( = {}) requires :directory = { 'limit' => limit, 'marker' => marker, 'path' => path, 'prefix' => prefix }.merge!() merge_attributes() parent = directory.collection.get( directory.key, ) if parent # TODO: change to load_response? load(parent.files.map(&:attributes)) end end |