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

- old
+ new

@@ -26,10 +26,10 @@ @http_client = @config.http_client end def call - uri = URI(Atol::URL + PATH) + uri = URI(@config.api_url + PATH) uri.query = URI.encode_www_form(login: @login, pass: @password) http = @http_client.new(uri.host, uri.port) http.use_ssl = true http.get(uri.request_uri)