Class: Fog::Parsers::AWS::Elasticache::Base
- Inherits:
-
Base
- Object
- Base
- Fog::Parsers::AWS::Elasticache::Base
show all
- Defined in:
- lib/fog/aws/parsers/elasticache/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/elasticache/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/elasticache/base.rb', line 7
def reset
super
@response = { 'ResponseMetadata' => {} }
end
|
#start_element(name, attrs = []) ⇒ Object
12
13
14
|
# File 'lib/fog/aws/parsers/elasticache/base.rb', line 12
def start_element(name, attrs = [])
super
end
|