Class: Fog::Parsers::AWS::ECS::ListTaskDefinitionFamilies

Inherits:
Base
  • Object
show all
Defined in:
lib/fog/aws/parsers/ecs/list_task_definition_families.rb

Instance Method Summary collapse

Methods inherited from Base

#start_element

Instance Method Details

#end_element(name) ⇒ Object



14
15
16
17
18
19
20
21
22
# File 'lib/fog/aws/parsers/ecs/list_task_definition_families.rb', line 14

def end_element(name)
  super
  case name
  when 'member'
    @response[@result]['families'] << value
  when 'NextToken'
    @response[@result][name] = value
  end
end

#resetObject



8
9
10
11
12
# File 'lib/fog/aws/parsers/ecs/list_task_definition_families.rb', line 8

def reset
  super
  @result = 'ListTaskDefinitionFamiliesResult'
  @response[@result] = {'families' => []}
end