Class: Occi::Infrastructure::InstanceBuilder
- Inherits:
-
Core::InstanceBuilder
- Object
- Core::InstanceBuilder
- Occi::Infrastructure::InstanceBuilder
- Defined in:
- lib/occi/infrastructure/instance_builder.rb
Overview
See ‘Occi::Core::InstanceBuilder` for details.
Direct Known Subclasses
Instance Attribute Summary collapse
-
#model ⇒ Occi::Infrastructure::Model
model filled with known category definitions.
Class Method Summary collapse
-
.klass_map ⇒ Object
:nodoc:.
Methods inherited from Core::InstanceBuilder
#build, #build_link, #build_resource, #initialize, #kind_instance, #klass, #parent_klass
Constructor Details
This class inherits a constructor from Occi::Core::InstanceBuilder
Instance Attribute Details
#model ⇒ Occi::Infrastructure::Model
model filled with known category definitions
8 9 10 |
# File 'lib/occi/infrastructure/instance_builder.rb', line 8 def model @model end |
Class Method Details
.klass_map ⇒ Object
:nodoc:
11 12 13 14 15 16 17 18 19 20 |
# File 'lib/occi/infrastructure/instance_builder.rb', line 11 def klass_map ns = Occi::Infrastructure super.merge( ns::Constants::COMPUTE_KIND => ns::Compute, ns::Constants::NETWORK_KIND => ns::Network, ns::Constants::STORAGE_KIND => ns::Storage, ns::Constants::NETWORKINTERFACE_KIND => ns::Networkinterface, ns::Constants::STORAGELINK_KIND => ns::Storagelink ) end |