lib/atol/transaction/get_token.rb in atol-0.3 vs lib/atol/transaction/get_token.rb in atol-0.4
- old
+ new
@@ -11,9 +11,10 @@
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'