# File lib/cimi/model/cloud_entry_point.rb, line 33 def self.entities(context) CIMI::Model.root_entities.inject({}) do |result, entity| if context.respond_to? "#{entity.underscore}_url""#{entity.underscore}_url" result[entity.underscore] = { :href => context.send("#{entity.underscore}_url""#{entity.underscore}_url") } end result end end