Class: Aws::Xml::RestHandler Private

Inherits:
RestBodyHandler show all
Defined in:
lib/aws-sdk-core/xml/rest_handler.rb

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Instance Attribute Summary

Attributes inherited from Seahorse::Client::Handler

#handler

Instance Method Summary collapse

Methods inherited from RestBodyHandler

#call

Methods inherited from Seahorse::Client::Handler

#call, #initialize, #inspect

Constructor Details

This class inherits a constructor from Seahorse::Client::Handler

Instance Method Details

#parse_body(xml, shape, target) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Parameters:



14
15
16
# File 'lib/aws-sdk-core/xml/rest_handler.rb', line 14

def parse_body(xml, shape, target)
  Parser.new(shape).parse(xml, target)
end

#serialize_params(shape, params) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Parameters:



7
8
9
# File 'lib/aws-sdk-core/xml/rest_handler.rb', line 7

def serialize_params(shape, params)
  Builder.new(shape).to_xml(params)
end