Sha256: 54b2cf0dcb138cd56b3611189a66c2733398f50381679be530bbd99996ff1f21
Contents?: true
Size: 546 Bytes
Versions: 53
Compression:
Stored size: 546 Bytes
Contents
require 'fog/core/model' module Fog module Compute class CloudSigma class MountPoint < Fog::Model attribute :device, :type => 'string' attribute :dev_channel, :type => 'string' attribute :drive attribute :boot_order, :type => 'integer' def drive drive = attributes[:drive] drive.kind_of?(Hash) ? drive['uuid'] : drive end def drive=(new_drive) attributes[:drive] = new_drive end alias :volume :drive end end end end
Version data entries
53 entries across 53 versions & 3 rubygems