Sha256: d39824a8e0e4d11004293f8aa8ad48d23f4a97ed9f16d28ba2402c9d889f36c0
Contents?: true
Size: 813 Bytes
Versions: 2
Compression:
Stored size: 813 Bytes
Contents
module Fog module Parsers module AWS module RDS require 'fog/aws/parsers/rds/snapshot_parser' class CreateDBSnapshot < Fog::Parsers::AWS::RDS::SnapshotParser def reset @response = { 'CreateDBSnapshotResult' => {}, 'ResponseMetadata' => {} } super end def start_element(name, attrs = []) super end def end_element(name) case name when 'DBSnapshot' then @response['CreateDBSnapshotResult']['DBSnapshot'] = @db_snapshot @db_snapshot = fresh_snapshot when 'RequestId' @response['ResponseMetadata'][name] = value else super end end end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
fog-1.22.0 | lib/fog/aws/parsers/rds/create_db_snapshot.rb |
fog-1.21.0 | lib/fog/aws/parsers/rds/create_db_snapshot.rb |