Class: RightAws::RightErrorResponseParser
- Inherits:
-
RightAWSParser
- Object
- RightAWSParser
- RightAws::RightErrorResponseParser
- Defined in:
- lib/awsbase/right_awsbase.rb
Overview
PARSERS: Errors
Constant Summary
Constants inherited from RightAWSParser
RightAws::RightAWSParser::DEFAULT_XML_LIBRARY
Instance Attribute Summary collapse
-
#errors ⇒ Object
:nodoc:.
-
#requestID ⇒ Object
Returns the value of attribute requestID.
Attributes inherited from RightAWSParser
Instance Method Summary collapse
Methods inherited from RightAWSParser
#initialize, #method_missing, #parse, #tag_end, #tag_start, #tagstart, #tagtext, #text, xml_lib, xml_lib=
Constructor Details
This class inherits a constructor from RightAws::RightAWSParser
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class RightAws::RightAWSParser
Instance Attribute Details
#errors ⇒ Object
:nodoc:
520 521 522 |
# File 'lib/awsbase/right_awsbase.rb', line 520 def errors @errors end |
#requestID ⇒ Object
Returns the value of attribute requestID.
521 522 523 |
# File 'lib/awsbase/right_awsbase.rb', line 521 def requestID @requestID end |
Instance Method Details
#reset ⇒ Object
530 531 532 |
# File 'lib/awsbase/right_awsbase.rb', line 530 def reset @errors = [] end |
#tagend(name) ⇒ Object
522 523 524 525 526 527 528 529 |
# File 'lib/awsbase/right_awsbase.rb', line 522 def tagend(name) case name when 'RequestID' ; @requestID = @text when 'Code' ; @code = @text when 'Message' ; = @text when 'Error' ; @errors << [ @code, ] end end |