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

Added usagePrice the hourly cost for a reserved instance

This commit is contained in:
Ulf Mansson 2012-10-10 19:42:44 +02:00
parent be3bda365b
commit 0a0e5ca72b

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