Class: Response::XML
Overview
XML response
Constant Summary collapse
- HEADERS =
IceNine.deep_freeze('Content-Type' => 'application/xml; charset=UTF-8')
Constants inherited from Response
Instance Attribute Summary
Attributes inherited from Response
Class Method Summary collapse
-
.build(body) ⇒ Array
Build xml response with defaults.
Methods inherited from Response
#cache_control, #content_type, #last_modified, #merge_headers, #rack_array, #to_rack_response, #valid?, #with_body, #with_headers, #with_status