Collection methods that every frontend need to provide.
Simple check if the collection is available in the current frontend
# File lib/deltacloud/helpers/collection_helper.rb, line 36 def collection_exists?(c) collections.include? c end
Return all collection names provided by the current frontend
# File lib/deltacloud/helpers/collection_helper.rb, line 30 def collection_names module_klass::Collections.collection_names end
Return all collections provided by the current frontend
# File lib/deltacloud/helpers/collection_helper.rb, line 24 def collections module_klass::Collections.collections end