lib/atol/request/post_document.rb in atol-0.4 vs lib/atol/request/post_document.rb in atol-0.4.1
- old
+ new
@@ -24,10 +24,10 @@
end
def call
http_client = @config.http_client
uri = URI("#{Atol::URL}/#{@config.group_code}/#{@operation}")
- req_headers = HEADERS.merge(Token: @token)
+ 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)