lib/atol/transaction/get_token.rb in atol-0.4 vs lib/atol/transaction/get_token.rb in atol-0.4.1
- old
+ new
@@ -11,10 +11,9 @@
def call
@config.req_tries_number.times do |i|
request = Atol::Request::GetToken.new(config: @config)
response = request.call
- byebug
encoded_body = response.body.encode(Atol::ENCODING)
json = JSON.parse(encoded_body)
case response.code
when '200'