Method: CIMI::Service::ResourceMetadata.find
- Defined in:
- lib/cimi/service/resource_metadata.rb
.find(id, context) ⇒ Object
18 19 20 21 22 23 24 25 26 27 |
# File 'lib/cimi/service/resource_metadata.rb', line 18 def self.find(id, context) if id == :all CIMI::Service.root_entities.map do |svc_class| (svc_class, context) end.reject { || .none_defined? } else svc_class = CIMI::Service.const_get("#{id.camelize}") (svc_class, context) end end |