Module: Deltacloud::Collections

Extended by:
CollectionHelper
Included in:
API
Defined in:
lib/deltacloud/collections/base.rb,
lib/deltacloud/collections.rb,
lib/deltacloud/collections/keys.rb,
lib/deltacloud/collections/images.rb,
lib/deltacloud/collections/realms.rb,
lib/deltacloud/collections/buckets.rb,
lib/deltacloud/collections/drivers.rb,
lib/deltacloud/collections/metrics.rb,
lib/deltacloud/collections/addresses.rb,
lib/deltacloud/collections/firewalls.rb,
lib/deltacloud/collections/instances.rb,
lib/deltacloud/collections/load_balancers.rb,
lib/deltacloud/collections/instance_states.rb,
lib/deltacloud/collections/storage_volumes.rb,
lib/deltacloud/collections/hardware_profiles.rb,
lib/deltacloud/collections/storage_snapshots.rb

Overview

Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Defined Under Namespace

Classes: Addresses, Base, Buckets, Drivers, Firewalls, HardwareProfiles, Images, InstanceStates, Instances, Keys, LoadBalancers, Metrics, Realms, StorageSnapshots, StorageVolumes

Class Method Summary collapse

Methods included from CollectionHelper

collection, collection_names, collections, load_collections_for, modules

Class Method Details

.included(klass) ⇒ Object



27
28
29
30
31
32
33
# File 'lib/deltacloud/collections.rb', line 27

def self.included(klass)
  klass.class_eval do
    Deltacloud::Collections.modules(:deltacloud).each do |collection_class|
      use collection_class
    end
  end
end