class Fog::Parsers::AWS::Compute::CancelSpotInstanceRequests
Public Instance Methods
end_element(name)
click to toggle source
# File lib/fog/aws/parsers/compute/cancel_spot_instance_requests.rb, line 11 def end_element(name) case name when 'item' @response['spotInstanceRequestSet'] << @spot_instance_request @spot_instance_request = {} when 'requestId' @response[name] = value when 'spotInstanceRequestId', 'state' @spot_instance_request[name] = value end end
reset()
click to toggle source
# File lib/fog/aws/parsers/compute/cancel_spot_instance_requests.rb, line 6 def reset @spot_instance_request = {} @response = { 'spotInstanceRequestSet' => [] } end