Class: LitleOnline::LitleXmlMapper
- Inherits:
-
Object
- Object
- LitleOnline::LitleXmlMapper
- Defined in:
- lib/LitleXmlMapper.rb
Class Method Summary collapse
Class Method Details
.request(request_xml, config_hash) ⇒ Object
34 35 36 37 38 39 40 41 42 43 44 45 46 |
# File 'lib/LitleXmlMapper.rb', line 34 def LitleXmlMapper.request(request_xml, config_hash) logger = initialize_logger(config_hash) logger.debug request_xml # get the Litle Online Response from the API server over HTTP response_xml = Communications.http_post(request_xml,config_hash) logger.debug response_xml # create response object from xml returned form the Litle API response_object = XMLObject.new(response_xml) return response_object end |