lib/atol/request/get_document_state.rb in atol-0.7 vs lib/atol/request/get_document_state.rb in atol-0.7.1

- old
+ new

@@ -9,9 +9,10 @@ class GetDocumentState def initialize(uuid:, token:, config: nil) @config = config || Atol.config raise(Atol::ConfigExpectedError) unless @config.is_a?(Atol::Config) raise(Atol::MissingConfigError, 'group_code missing') if @config.group_code.nil? + @token = token @uuid = uuid end def call