lib/atol/request/post_document.rb in atol-0.5.1 vs lib/atol/request/post_document.rb in atol-0.6

- old
+ new

@@ -25,10 +25,10 @@ @res_logger = res_logger end def call http_client = @config.http_client - uri = URI("#{Atol::URL}/#{@config.group_code}/#{@operation}") + uri = URI("#{@config.api_url}/#{@config.group_code}/#{@operation}") req_headers = HEADERS.merge('Token' => @token) req = http_client::Post.new(uri, req_headers) req.body = @body @req_logger.call(req) if @req_logger.respond_to?(:call)