Sha256: ae6f173301c0fbd19412bccb8bb42bd1b4001a880a98b2b0f7607941c49b583d
Contents?: true
Size: 924 Bytes
Versions: 60
Compression:
Stored size: 924 Bytes
Contents
module Fog module Parsers module AWS module RDS require 'fog/aws/parsers/rds/db_cluster_parser' class DescribeDBClusters < Fog::Parsers::AWS::RDS::DbClusterParser def reset @response = { 'DescribeDBClustersResult' => { 'DBClusters' => []}, 'ResponseMetadata' => {} } super end def start_element(name, attrs=[]) super end def end_element(name) case name when 'DBCluster' @response['DescribeDBClustersResult']['DBClusters'] << @db_cluster @db_cluster = fresh_cluster when 'Marker' @response['DescribeDBClustersResult']['Marker'] = value when 'RequestId' @response['ResponseMetadata'][name] = value else super end end end end end end end
Version data entries
60 entries across 58 versions & 2 rubygems