Sha256: c9628a37ec2f67a127b3c2bc9ab8c0ba9712e0e041f6c19ed94ae2c4a84ee7fa
Contents?: true
Size: 615 Bytes
Versions: 5
Compression:
Stored size: 615 Bytes
Contents
module FogExtensions module AzureRM module DataDisk extend ActiveSupport::Concern def self.prepended base base.instance_eval do def parse(disk) hash = {} hash['name'] = disk.name hash['disk_size_gb'] = disk.disk_size_gb hash['lun'] = disk.lun unless disk.vhd.nil? hash['vhd_uri'] = disk.vhd.uri end hash['caching'] = disk.caching unless disk.caching.nil? hash['create_option'] = disk.create_option hash end end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems