Sha256: 107085839679bb002ce4c64759f48e9852f31ed68f08a238ef6c763dd34b54f7

Contents?: true

Size: 755 Bytes

Versions: 69

Compression:

Stored size: 755 Bytes

Contents

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

        class CreateService < Fog::Parsers::AWS::ECS::Service
          def reset
            super
            @result = 'CreateServiceResult'
            @response[@result] = {}
            @contexts = %w(service loadBalancers events deployments)
            @service       = {}
            @context       = []
            @deployment    = {}
            @load_balancer = {}
            @event         = {}
          end

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