Sha256: 01411187e496d3dbe9dbef32b9b824509dc833ac4e1fc56cf64e64f1ce8922f7

Contents?: true

Size: 602 Bytes

Versions: 70

Compression:

Stored size: 602 Bytes

Contents

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

        class ListTasks < Fog::Parsers::AWS::ECS::Base
          def reset
            super
            @result = 'ListTasksResult'
            @response[@result] = {'taskArns' => []}
          end

          def end_element(name)
            super
            case name
            when 'member'
              @response[@result]['taskArns'] << 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_tasks.rb
fog-aws-3.29.0 lib/fog/aws/parsers/ecs/list_tasks.rb
fog-aws-3.28.0 lib/fog/aws/parsers/ecs/list_tasks.rb
fog-aws-3.27.0 lib/fog/aws/parsers/ecs/list_tasks.rb
fog-aws-3.26.0 lib/fog/aws/parsers/ecs/list_tasks.rb
fog-aws-3.25.0 lib/fog/aws/parsers/ecs/list_tasks.rb
fog-aws-3.24.0 lib/fog/aws/parsers/ecs/list_tasks.rb
fog-aws-3.23.0 lib/fog/aws/parsers/ecs/list_tasks.rb
fog-aws-3.22.0 lib/fog/aws/parsers/ecs/list_tasks.rb
fog-aws-3.21.1 lib/fog/aws/parsers/ecs/list_tasks.rb
fog-aws-3.21.0 lib/fog/aws/parsers/ecs/list_tasks.rb
fog-aws-3.20.0 lib/fog/aws/parsers/ecs/list_tasks.rb
fog-aws-3.19.0 lib/fog/aws/parsers/ecs/list_tasks.rb
fog-aws-3.18.0 lib/fog/aws/parsers/ecs/list_tasks.rb
fog-aws-3.17.0 lib/fog/aws/parsers/ecs/list_tasks.rb
fog-aws-3.16.0 lib/fog/aws/parsers/ecs/list_tasks.rb
fog-aws-3.15.0 lib/fog/aws/parsers/ecs/list_tasks.rb
fog-aws-3.14.0 lib/fog/aws/parsers/ecs/list_tasks.rb
fog-aws-3.13.0 lib/fog/aws/parsers/ecs/list_tasks.rb
fog-aws-3.12.0 lib/fog/aws/parsers/ecs/list_tasks.rb