Module: Deltacloud::BackendCapability::Helpers

Defined in:
lib/deltacloud/backend_capability.rb

Instance Method Summary collapse

Instance Method Details

#operations_for_collection(collection) ⇒ Object



47
48
49
# File 'lib/deltacloud/backend_capability.rb', line 47

def operations_for_collection(collection)
  collections[collection].operations.values.select { |op| op.has_capability?(driver) }
end