lib/fog/aws/parsers/compute/describe_reserved_instances.rb
Method end_element
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def end_element(name)
case name
when 'availabilityZone', 'instanceTenancy', 'instanceType', 'offeringType', 'productDescription', 'reservedInstancesId', 'scope', 'state'
@reserved_instance[name] = value
when 'duration', 'instanceCount'