Module: CIMI::Collections
- Included in:
- API
- Defined in:
- lib/cimi/collections/volumes.rb,
lib/cimi/collections.rb,
lib/cimi/collections/base.rb,
lib/cimi/collections/machines.rb,
lib/cimi/collections/networks.rb,
lib/cimi/collections/addresses.rb,
lib/cimi/collections/credentials.rb,
lib/cimi/collections/network_ports.rb,
lib/cimi/collections/volume_images.rb,
lib/cimi/collections/machine_images.rb,
lib/cimi/collections/volume_templates.rb,
lib/cimi/collections/address_templates.rb,
lib/cimi/collections/cloud_entry_point.rb,
lib/cimi/collections/forwarding_groups.rb,
lib/cimi/collections/machine_templates.rb,
lib/cimi/collections/network_templates.rb,
lib/cimi/collections/resource_metadata.rb,
lib/cimi/collections/volume_configurations.rb,
lib/cimi/collections/machine_configurations.rb,
lib/cimi/collections/network_configurations.rb,
lib/cimi/collections/network_port_templates.rb,
lib/cimi/collections/forwarding_group_templates.rb,
lib/cimi/collections/network_port_configurations.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: AddressTemplates, Addresses, Base, CloudEntryPoint, Credentials, ForwardingGroupTemplates, ForwardingGroups, MachineConfigurations, MachineImages, MachineTemplates, Machines, NetworkConfigurations, NetworkPortConfigurations, NetworkPortTemplates, NetworkPorts, NetworkTemplates, Networks, ResourceMetadata, VolumeConfigurations, VolumeImages, VolumeTemplates, Volumes
Class Method Summary collapse
Class Method Details
.cimi_modules ⇒ Object
35 36 37 |
# File 'lib/cimi/collections.rb', line 35 def self.cimi_modules @cimi_modules ||= [] end |
.collection(name) ⇒ Object
31 32 33 |
# File 'lib/cimi/collections.rb', line 31 def self.collection(name) CIMI.collections.find { |c| c.collection_name == name } end |
.included(klass) ⇒ Object
54 55 56 57 58 |
# File 'lib/cimi/collections.rb', line 54 def self.included(klass) klass.class_eval do CIMI::Collections.cimi_modules.each { |c| use c } end end |