def call(request, options)
      response = begin
        @http.request(request)
      rescue Exception => e
        Error.new(OPEN_HTTP_TRANSLATE_ERROR, "#{e.message}\n#{e.backtrace.inspect}", options[:format])
      end
      
      return response.body if options[:raw] || options[:format] == 'xml'

      OpenStruct.new( JSON.parse(response.body) )
    end
def call(request, options)
      response = begin
        @http.request(request)
      rescue Exception => e
        Error.new(OPEN_HTTP_TRANSLATE_ERROR, "#{e.message}\n#{e.backtrace.inspect}", options[:format])
      end
      
      return response.body if options[:raw] || options[:format] == 'xml'

      OpenStruct.new( JSON.parse(response.body) )
    end
Call the request and format the output
 @param [Net::HTTP::Request] request be called
 @param [Hash] options some option used to format output

 @return [String, Object] unformatted string result or parsed OpenStruct instance