Sha256: b189145bbdf34e3008288f95928a43a2bb2dcd926e18bdc9271d5e9cdb0f1ba8

Contents?: true

Size: 642 Bytes

Versions: 70

Compression:

Stored size: 642 Bytes

Contents

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

        class ListTaskDefinitions < Fog::Parsers::AWS::ECS::Base
          def reset
            super
            @result = 'ListTaskDefinitionsResult'
            @response[@result] = {'taskDefinitionArns' => []}
          end

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

Version data entries

70 entries across 68 versions & 3 rubygems

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