Class: Fog::Parsers::AWS::ECS::DeregisterContainerInstance

Inherits:
ContainerInstance show all
Defined in:
lib/fog/aws/parsers/ecs/deregister_container_instance.rb

Instance Method Summary collapse

Methods inherited from ContainerInstance

#start_element

Methods inherited from Base

#start_element

Instance Method Details

#end_element(name) ⇒ Object



20
21
22
23
24
25
26
# File 'lib/fog/aws/parsers/ecs/deregister_container_instance.rb', line 20

def end_element(name)
  super
  case name
  when 'containerInstance'
    @response[@result][name] = @container_instance
  end
end

#resetObject



8
9
10
11
12
13
14
15
16
17
18
# File 'lib/fog/aws/parsers/ecs/deregister_container_instance.rb', line 8

def reset
  super
  @result = 'DeregisterContainerInstanceResult'
  @response[@result] = {}
  @contexts = %w(registeredResources remainingResources stringSetValue)
  @context = []
  @container_instance  = {}
  @registered_resource = {}
  @remaining_resource  = {}
  @string_set = []
end