1
0
Fork 0
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:
Dylan Egan 2011-07-13 10:48:53 +10:00
parent a17ec2f42a
commit 14f242f640
4 changed files with 83 additions and 2 deletions

View file

@ -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