Sha256: bfa495d769fba42d027bcee75e5348681b14d6d791ed4b6c29c19e2e05395de6
Contents?: true
Size: 775 Bytes
Versions: 70
Compression:
Stored size: 775 Bytes
Contents
module Fog module Parsers module AWS module ECS require 'fog/aws/parsers/ecs/base' class DeleteCluster < Fog::Parsers::AWS::ECS::Base def reset super @result = 'DeleteClusterResult' @response[@result] = {} @cluster = {} end def end_element(name) super case name when 'clusterName', 'clusterArn', 'status' @cluster[name] = value when 'registeredContainerInstancesCount', 'runningTasksCount', 'pendingTasksCount' @cluster[name] = value.to_i when 'cluster' @response[@result]['cluster'] = @cluster end end end end end end end
Version data entries
70 entries across 68 versions & 3 rubygems