Class: Fog::Errors::Parser
- Inherits:
-
Parsers::Base
- Object
- Nokogiri::XML::SAX::Document
- Parsers::Base
- Fog::Errors::Parser
- Defined in:
- lib/fog/errors.rb
Instance Attribute Summary
Attributes inherited from Parsers::Base
Instance Method Summary collapse
Methods inherited from Parsers::Base
#characters, #initialize, #reset, #start_element
Constructor Details
This class inherits a constructor from Fog::Parsers::Base
Instance Method Details
#end_element(name) ⇒ Object
135 136 137 138 139 140 |
# File 'lib/fog/errors.rb', line 135 def end_element(name) case name when 'Code', 'Message' @response[name] = @value end end |