Sha256: 7284e55d490d3d01ac141e21416920a67e737eb9ce0749ed01f313766d792af0

Contents?: true

Size: 628 Bytes

Versions: 101

Compression:

Stored size: 628 Bytes

Contents

module Fog
  module Parsers
    module AWS
      module Elasticache
        require 'fog/aws/parsers/elasticache/base'

        class ParameterGroupParser < Base

          def reset
            super
            reset_parameter_group
          end

          def reset_parameter_group
            @parameter_group = {}
          end

          def end_element(name)
            case name
            when 'Description', 'CacheParameterGroupName', 'CacheParameterGroupFamily'
              @parameter_group[name] = value
            else
              super
            end
          end
        end
      end
    end
  end
end

Version data entries

101 entries across 101 versions & 17 rubygems

Version Path
fog-1.0.0 lib/fog/aws/parsers/elasticache/parameter_group_parser.rb