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:
parent
be3bda365b
commit
0a0e5ca72b
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue