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

- old
+ new

@@ -1,11 +1,13 @@ +# frozen_string_literal: true + require 'atol' require 'atol/errors' module Atol module Request class GetToken - PATH = '/getToken'.freeze + PATH = '/getToken' def initialize(config: nil) @config = config || Atol.config raise(Atol::ConfigExpectedError) unless @config.is_a?(Atol::Config)