# File lib/deltacloud/drivers/rimuhosting/rimuhosting_driver.rb, line 49 def hardware_profiles(credentials, opts = nil) safely do rh = RimuHostingClient.new(credentials) results = rh.list_plans.map do |plan| # FIXME: x86 is not a valid architecture; what is Rimu offering ? # FIXME: VPS plans offer a range of memory/storage, but that's # not contained in hte pricing_plan_infos HardwareProfile.new(plan["pricing_plan_code"]) do memory plan["minimum_memory_mb"].to_f storage plan["minimum_disk_gb"].to_i architecture "x86" end end end filter_hardware_profiles(results, opts) end