Class: Fog::Parsers::AWS::ECS::ListContainerInstances
- Defined in:
- lib/fog/aws/parsers/ecs/list_container_instances.rb
Instance Method Summary collapse
Methods inherited from Base
Instance Method Details
#end_element(name) ⇒ Object
14 15 16 17 18 19 20 21 22 |
# File 'lib/fog/aws/parsers/ecs/list_container_instances.rb', line 14 def end_element(name) super case name when 'member' @response[@result]['containerInstanceArns'] << value when 'NextToken' @response[@result][name] = value end end |
#reset ⇒ Object
8 9 10 11 12 |
# File 'lib/fog/aws/parsers/ecs/list_container_instances.rb', line 8 def reset super @result = 'ListContainerInstancesResult' @response[@result] = {'containerInstanceArns' => []} end |