lib/yao/resources/image.rb in yao-0.3.7 vs lib/yao/resources/image.rb in yao-0.3.8

- old
+ new

@@ -1,10 +1,10 @@ require 'yao/resources/metadata_available' module Yao::Resources class Image < Base friendly_attributes :name, :status, :progress, :metadata - map_attribute_to_attribute :minDisk => :min_disk - map_attribute_to_attribute :minRam => :min_ram + map_attribute_to_attribute minDisk: :min_disk + map_attribute_to_attribute minRam: :min_ram def size(unit=nil) size = self["OS-EXT-IMG-SIZE:size"] case unit when 'K'