1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
fog--fog/lib/fog/virtual_box/models/compute/medium_format.rb

34 lines
529 B
Ruby

require 'fog/core/model'
module Fog
module Compute
class VirtualBox
class MediumFormat < Fog::Model
identity :id
# attribute :capabilities
attribute :name
private
def raw
@raw
end
def raw=(new_raw)
@raw = new_raw
raw_attributes = {}
for key in [:id, :name]
raw_attributes[key] = @raw.send(key)
end
merge_attributes(raw_attributes)
end
end
end
end
end