Sha256: 8a624317b1875e5dd458ddf54f931266d28201037f56b6e78347646c7c7c57c4

Contents?: true

Size: 614 Bytes

Versions: 69

Compression:

Stored size: 614 Bytes

Contents

module Fog
  module Parsers
    module AWS
      module ECS
        require 'fog/aws/parsers/ecs/base'

        class ListClusters < Fog::Parsers::AWS::ECS::Base
          def reset
            super
            @result = 'ListClustersResult'
            @response[@result] = {'clusterArns' => []}
          end

          def end_element(name)
            super
            case name
            when 'member'
              @response[@result]['clusterArns'] << value
            when 'NextToken'
              @response[@result][name] = value
            end
          end
        end
      end
    end
  end
end

Version data entries

69 entries across 67 versions & 3 rubygems

Version Path
fog-aws-3.29.0 lib/fog/aws/parsers/ecs/list_clusters.rb
fog-aws-3.28.0 lib/fog/aws/parsers/ecs/list_clusters.rb
fog-aws-3.27.0 lib/fog/aws/parsers/ecs/list_clusters.rb
fog-aws-3.26.0 lib/fog/aws/parsers/ecs/list_clusters.rb
fog-aws-3.25.0 lib/fog/aws/parsers/ecs/list_clusters.rb
fog-aws-3.24.0 lib/fog/aws/parsers/ecs/list_clusters.rb
fog-aws-3.23.0 lib/fog/aws/parsers/ecs/list_clusters.rb
fog-aws-3.22.0 lib/fog/aws/parsers/ecs/list_clusters.rb
fog-aws-3.21.1 lib/fog/aws/parsers/ecs/list_clusters.rb
fog-aws-3.21.0 lib/fog/aws/parsers/ecs/list_clusters.rb
fog-aws-3.20.0 lib/fog/aws/parsers/ecs/list_clusters.rb
fog-aws-3.19.0 lib/fog/aws/parsers/ecs/list_clusters.rb
fog-aws-3.18.0 lib/fog/aws/parsers/ecs/list_clusters.rb
fog-aws-3.17.0 lib/fog/aws/parsers/ecs/list_clusters.rb
fog-aws-3.16.0 lib/fog/aws/parsers/ecs/list_clusters.rb
fog-aws-3.15.0 lib/fog/aws/parsers/ecs/list_clusters.rb
fog-aws-3.14.0 lib/fog/aws/parsers/ecs/list_clusters.rb
fog-aws-3.13.0 lib/fog/aws/parsers/ecs/list_clusters.rb
fog-aws-3.12.0 lib/fog/aws/parsers/ecs/list_clusters.rb
fog-aws-3.11.0 lib/fog/aws/parsers/ecs/list_clusters.rb