lib/fog/aws/models/compute/image.rb in fog-0.3.7 vs lib/fog/aws/models/compute/image.rb in fog-0.3.8
- old
+ new
@@ -1,6 +1,6 @@
-require 'fog/model'
+require 'fog/core/model'
module Fog
module AWS
class Compute
@@ -19,9 +19,10 @@
attribute :platform
attribute :product_codes, :aliases => 'productCodes'
attribute :ramdisk_id, :aliases => 'ramdiskId'
attribute :root_device_type, :aliases => 'rootDeviceType'
attribute :root_device_name, :aliases => 'rootDeviceName'
+ attribute :tags, :aliases => 'tagSet'
def deregister(delete_snapshot = false)
connection.deregister_image(@id)
if(delete_snapshot && @root_device_type=="ebs")