Sha256: d3052f713e8f8488dcac8e49a6d65ed6819b0c3be1aebf4c5de1e2d904a6b847
Contents?: true
Size: 603 Bytes
Versions: 50
Compression:
Stored size: 603 Bytes
Contents
module Fog module Parsers module AWS module Compute class DescribeRegions < Fog::Parsers::Base def reset @region = {} @response = { 'regionInfo' => [] } end def end_element(name) case name when 'item' @response['regionInfo'] << @region @region = {} when 'regionEndpoint', 'regionName' @region[name] = @value when 'requestId' @response[name] = @value end end end end end end end
Version data entries
50 entries across 50 versions & 3 rubygems