1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

[ec2] update snapshot models to accept new attributes

This commit is contained in:
geemus 2010-05-08 18:22:43 -07:00
parent 9d2cea276a
commit 945011661f

View file

@ -10,10 +10,13 @@ module Fog
identity :id, 'snapshotId' identity :id, 'snapshotId'
attribute :description
attribute :progress attribute :progress
attribute :created_at, 'startTime' attribute :created_at, 'startTime'
attribute :owner_id, 'ownerId'
attribute :state, 'status' attribute :state, 'status'
attribute :volume_id, 'volumeId' attribute :volume_id, 'volumeId'
attribute :volume_size, 'volumeSize'
def destroy def destroy
requires :id requires :id