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

- old
+ new

@@ -15,10 +15,10 @@ @uuid = uuid end def call http_client = @config.http_client - uri = URI("#{Atol::URL}/#{@config.group_code}/report/#{@uuid}") + uri = URI("#{@config.api_url}/#{@config.group_code}/report/#{@uuid}") http = http_client.new(uri.host, uri.port) http.use_ssl = true http.get(uri.request_uri, 'Token' => @token) end end