Sha256: a8cb2b7fafcfa668c5385f11a393d060cd7668201168947b1a0d5b7ed707efeb

Contents?: true

Size: 616 Bytes

Versions: 97

Compression:

Stored size: 616 Bytes

Contents

module Fog
  module Parsers
    module Redshift
      module AWS
        require 'fog/aws/parsers/redshift/cluster_parser'

        class DescribeClusters < ClusterParser
          def reset
            super
            @response = {"ClusterSet" => []}
          end

          def start_element(name, attrs = [])
            super
          end

          def end_element(name)
            super
            case name
            when 'Cluster'
              @response["ClusterSet"] << {name => @cluster}
              @cluster = fresh_cluster
            end
          end
        end
      end
    end
  end
end

Version data entries

97 entries across 95 versions & 6 rubygems

Version Path
fog-aws-0.0.6 lib/fog/aws/parsers/redshift/describe_clusters.rb
fog-aws-0.0.5 lib/fog/aws/parsers/redshift/describe_clusters.rb
fog-1.26.0 lib/fog/aws/parsers/redshift/describe_clusters.rb
fog-1.25.0 lib/fog/aws/parsers/redshift/describe_clusters.rb
nsidc-fog-1.24.1 lib/fog/aws/parsers/redshift/describe_clusters.rb
fog-1.24.0 lib/fog/aws/parsers/redshift/describe_clusters.rb
ns-fog-1.22.11 lib/fog/aws/parsers/redshift/describe_clusters.rb
ns-fog-1.22.10 lib/fog/aws/parsers/redshift/describe_clusters.rb
ns-fog-1.22.9 lib/fog/aws/parsers/redshift/describe_clusters.rb
ns-fog-1.22.8 lib/fog/aws/parsers/redshift/describe_clusters.rb
ns-fog-1.22.7 lib/fog/aws/parsers/redshift/describe_clusters.rb
ns-fog-1.22.6 lib/fog/aws/parsers/redshift/describe_clusters.rb
fog-1.23.0 lib/fog/aws/parsers/redshift/describe_clusters.rb
ns-fog-1.22.4 lib/fog/aws/parsers/redshift/describe_clusters.rb
ns-fog-1.22.3 lib/fog/aws/parsers/redshift/describe_clusters.rb
ns-fog-1.22.2 lib/fog/aws/parsers/redshift/describe_clusters.rb
fog-1.22.1 lib/fog/aws/parsers/redshift/describe_clusters.rb