mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
Begin work on mocking reserved instances. Provide describe_reserved_instances_offerings for mocking and real. REAL TALK
This commit is contained in:
parent
a17ec2f42a
commit
14f242f640
4 changed files with 83 additions and 2 deletions
|
@ -12,7 +12,7 @@ module Fog
|
|||
|
||||
def end_element(name)
|
||||
case name
|
||||
when 'availabilityZone', 'instanceType', 'productDescription', 'reservedInstancesOfferingId'
|
||||
when 'availabilityZone', 'currencyCode', 'instanceType', 'instanceTenancy', 'productDescription', 'reservedInstancesOfferingId'
|
||||
@reserved_instances_offering[name] = value
|
||||
when 'duration'
|
||||
@reserved_instances_offering[name] = value.to_i
|
||||
|
@ -31,4 +31,4 @@ module Fog
|
|||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue