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

reserved instances hourly cost was returning empty

This commit is contained in:
Ozgur Akan 2012-04-15 18:50:51 -04:00
parent 3e7f55ae00
commit 206bca8973

View file

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