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.10.0 lib/fog/aws/parsers/ecs/create_service.rb
fog-aws-3.9.0 lib/fog/aws/parsers/ecs/create_service.rb
fog-aws-3.8.0 lib/fog/aws/parsers/ecs/create_service.rb
fog-aws-3.7.0 lib/fog/aws/parsers/ecs/create_service.rb
fog-aws-3.6.7 lib/fog/aws/parsers/ecs/create_service.rb
fog-aws-3.6.6 lib/fog/aws/parsers/ecs/create_service.rb
fog-aws-3.6.5 lib/fog/aws/parsers/ecs/create_service.rb
fog-aws-3.6.4 lib/fog/aws/parsers/ecs/create_service.rb
fog-aws-3.6.3 lib/fog/aws/parsers/ecs/create_service.rb
fog-aws-3.6.2 lib/fog/aws/parsers/ecs/create_service.rb
fog-aws-3.5.2 lib/fog/aws/parsers/ecs/create_service.rb
fog-aws-3.5.1 lib/fog/aws/parsers/ecs/create_service.rb
fog-aws-3.5.0 lib/fog/aws/parsers/ecs/create_service.rb
fog-aws-3.4.0 lib/fog/aws/parsers/ecs/create_service.rb
fog-aws-3.3.0 lib/fog/aws/parsers/ecs/create_service.rb
fog-aws-3.2.0 lib/fog/aws/parsers/ecs/create_service.rb
fog-aws-3.1.0 lib/fog/aws/parsers/ecs/create_service.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.3.0/gems/fog-aws-2.0.1/lib/fog/aws/parsers/ecs/create_service.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.5.0/gems/fog-aws-2.0.1/lib/fog/aws/parsers/ecs/create_service.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.4.0/gems/fog-aws-2.0.1/lib/fog/aws/parsers/ecs/create_service.rb