lib/aws/simple_db/client/xml.rb in aws-sdk-1.1.3 vs lib/aws/simple_db/client/xml.rb in aws-sdk-1.1.4
- old
+ new
@@ -9,33 +9,28 @@
# or in the "license" file accompanying this file. This file is
# distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
# ANY KIND, either express or implied. See the License for the specific
# language governing permissions and limitations under the License.
-require 'aws/configured_xml_grammars'
-require 'aws/ignore_result_element'
-require 'aws/xml_grammar'
-
module AWS
class SimpleDB
- class Client < BaseClient
+ class Client < Core::Client
# @private
module XML
- include ConfiguredXmlGrammars
+ include Core::ConfiguredXmlGrammars
+ extend Core::IgnoreResultElement
- extend IgnoreResultElement
-
- BaseResponse = XmlGrammar.customize do
+ BaseResponse = Core::XmlGrammar.customize do
element "ResponseMetadata" do
element "BoxUsage" do
float_value
end
end
end
- BaseError = XmlGrammar.customize do
+ BaseError = Core::XmlGrammar.customize do
element("Errors") do
ignore
element("Error") do
ignore
element("BoxUsage") { float_value }