Class: RightAws::RightErrorResponseParser
- Inherits:
-
RightAWSParser
- Object
- RightAWSParser
- RightAws::RightErrorResponseParser
- Defined in:
- lib/awsbase/right_awsbase.rb
Overview
PARSERS: Errors
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:
435 436 437 |
# File 'lib/awsbase/right_awsbase.rb', line 435 def errors @errors end |
#requestID ⇒ Object
Returns the value of attribute requestID.
436 437 438 |
# File 'lib/awsbase/right_awsbase.rb', line 436 def requestID @requestID end |
Instance Method Details
#reset ⇒ Object
445 446 447 |
# File 'lib/awsbase/right_awsbase.rb', line 445 def reset @errors = [] end |
#tagend(name) ⇒ Object
437 438 439 440 441 442 443 444 |
# File 'lib/awsbase/right_awsbase.rb', line 437 def tagend(name) case name when 'RequestID' ; @requestID = @text when 'Code' ; @code = @text when 'Message' ; @message = @text when 'Error' ; @errors << [ @code, @message ] end end |