Class: Fog::Parsers::AWS::ECS::Base
- Inherits:
-
Base
- Object
- Base
- Fog::Parsers::AWS::ECS::Base
show all
- Defined in:
- lib/fog/aws/parsers/ecs/base.rb
Overview
Base parser for ResponseMetadata, RequestId
Direct Known Subclasses
ContainerInstance, CreateCluster, DeleteCluster, DescribeClusters, ListClusters, ListContainerInstances, ListServices, ListTaskDefinitionFamilies, ListTaskDefinitions, ListTasks, Service, Task, TaskDefinition
Instance Method Summary
collapse
Instance Method Details
#end_element(name) ⇒ Object
16
17
18
19
20
21
22
23
|
# File 'lib/fog/aws/parsers/ecs/base.rb', line 16
def end_element(name)
case name
when 'RequestId'
@response['ResponseMetadata'][name] = value
else
super
end
end
|
#reset ⇒ Object
7
8
9
10
|
# File 'lib/fog/aws/parsers/ecs/base.rb', line 7
def reset
super
@response = {'ResponseMetadata' => {}}
end
|
#start_element(name, attrs = []) ⇒ Object
12
13
14
|
# File 'lib/fog/aws/parsers/ecs/base.rb', line 12
def start_element(name, attrs = [])
super
end
|