Module: AWS::Core::Client::QueryXML
- Included in:
- AutoScaling::Client, AWS::CloudFormation::Client, EC2::Client, ELB::Client, IAM::Client, SNS::Client, SQS::Client, STS::Client, SimpleDB::Client, SimpleEmailService::Client
- Defined in:
- lib/aws/core/client/query_xml.rb
Overview
When a client class extends this module, its API configuration is parsed. For each operation in the API configuration, one client method is added.
Clients extending QueryXML all have in common their method of serializing request (input) paramters and parsing response (output) XML.
Defined Under Namespace
Modules: ErrorParser
Class Method Summary collapse
Instance Method Summary collapse
-
#option_parsers ⇒ Hash<Symbol,OptionGrammar>
Returns a hash option parsers.
-
#xml_parsers ⇒ Hash<Symbol,XML::Parser>
Returns a hash of xml parsers.
Class Method Details
.extended(base) ⇒ Object
29 30 31 32 |
# File 'lib/aws/core/client/query_xml.rb', line 29 def self.extended base base.send(:include, ErrorParser) base.send(:define_parsers) end |
Instance Method Details
#option_parsers ⇒ Hash<Symbol,OptionGrammar>
38 39 40 |
# File 'lib/aws/core/client/query_xml.rb', line 38 def option_parsers @option_parsers ||= {} end |
#xml_parsers ⇒ Hash<Symbol,XML::Parser>
46 47 48 |
# File 'lib/aws/core/client/query_xml.rb', line 46 def xml_parsers @xml_parsers ||= {} end |