lib/yao/resources/volume.rb in yao-0.15.0 vs lib/yao/resources/volume.rb in yao-0.16.0

- old
+ new

@@ -1,8 +1,10 @@ require 'yao/resources/volume_action' module Yao::Resources class Volume < Base + include ProjectAssociationable + friendly_attributes :attachments, :availability_zone, :bootable, :descriptions, :encrypted, :metadata, :multiattach, :name, :replication_status, :size, :snapshot_id, :status, :user_id, :volume_type alias :type :volume_type map_attribute_to_attribute 'os-vol-host-attr:host' => :host map_attribute_to_attribute 'os-vol-tenant-attr:tenant_id' => :tenant_id