Class: Fog::Parsers::AWS::Elasticache::DescribeCacheSubnetGroups
- Inherits:
-
SubnetGroupParser
- Object
- Base
- SubnetGroupParser
- Fog::Parsers::AWS::Elasticache::DescribeCacheSubnetGroups
- Defined in:
- lib/fog/aws/parsers/elasticache/describe_cache_subnet_groups.rb
Instance Method Summary collapse
Methods inherited from SubnetGroupParser
Instance Method Details
#end_element(name) ⇒ Object
17 18 19 20 21 22 23 24 25 26 27 28 29 |
# File 'lib/fog/aws/parsers/elasticache/describe_cache_subnet_groups.rb', line 17 def end_element(name) case name when 'CacheSubnetGroup' @response['DescribeCacheSubnetGroupsResult']['CacheSubnetGroups'] << @cache_subnet_group @cache_subnet_group = fresh_subnet_group when 'Marker' @response['DescribeCacheSubnetGroupsResult']['Marker'] = value when 'RequestId' @response['ResponseMetadata'][name] = value else super end end |
#reset ⇒ Object
8 9 10 11 |
# File 'lib/fog/aws/parsers/elasticache/describe_cache_subnet_groups.rb', line 8 def reset @response = { 'DescribeCacheSubnetGroupsResult' => {'CacheSubnetGroups' => []}, 'ResponseMetadata' => {} } super end |
#start_element(name, attrs = []) ⇒ Object
13 14 15 |
# File 'lib/fog/aws/parsers/elasticache/describe_cache_subnet_groups.rb', line 13 def start_element(name, attrs = []) super end |