Method: CoreLibrary::ResponseHandler#xml_attribute

Defined in:
lib/apimatic-core/response_handler.rb

#xml_attribute(xml_attribute) ⇒ ResponseHandler

Set the xml_attribute property.

Parameters:

  • xml_attribute (XmlAttributes)

    The xml configuration if the response is XML.

Returns:



81
82
83
84
# File 'lib/apimatic-core/response_handler.rb', line 81

def xml_attribute(xml_attribute)
  @xml_attribute = xml_attribute
  self
end