Class | AWS::Core::XML::Stub |
In: |
lib/aws/core/xml/stub.rb
|
Parent: | Object |
This class takes the rules from an XML parser and then returns a stubbed reponse. This response has placeholder values based on the grammar, e.g.
This is used primarily to help with the AWS.stub! utility.
rules | [R] | @return [Hash] |
Returns a hash with stubbed values as if it had parsed an empty xml document. @param [Hash] rules An XML::Parser rule set. @return [Hash]