mirror of
https://github.com/fog/fog-aws.git
synced 2022-11-09 13:50:52 -05:00
24 lines
625 B
Ruby
24 lines
625 B
Ruby
module Fog
|
|
module Parsers
|
|
module AWS
|
|
module ECS
|
|
require 'fog/aws/parsers/ecs/service'
|
|
|
|
class DescribeServices < Fog::Parsers::AWS::ECS::Service
|
|
def reset
|
|
super
|
|
@result = 'DescribeServicesResult'
|
|
@response[@result] = { 'services' => [], 'failures' => [] }
|
|
@service = {}
|
|
@failure = {}
|
|
@contexts = %w(failures services loadBalancers events deployments)
|
|
@context = []
|
|
@deployment = {}
|
|
@load_balancer = {}
|
|
@event = {}
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|