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

Merge pull request #1200 from manul/master

Added usagePrice to get the hourly cost for a reserved instance
This commit is contained in:
Wesley Beary 2012-10-15 13:57:15 -07:00
commit f191c48d3d

View file

@ -16,7 +16,7 @@ module Fog
@reserved_instance[name] = value
when 'duration', 'instanceCount'
@reserved_instance[name] = value.to_i
when 'fixedPrice', 'amount'
when 'fixedPrice', 'amount', 'usagePrice'
@reserved_instance[name] = value.to_f
when 'item'
@response['reservedInstancesSet'] << @reserved_instance