Class: Fog::Parsers::AWS::ECS::Base

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

Overview

Base parser for ResponseMetadata, RequestId

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

#resetObject



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