lib/atol/transaction/get_document_state.rb in atol-0.7 vs lib/atol/transaction/get_document_state.rb in atol-0.7.1
- old
+ new
@@ -7,9 +7,10 @@
module Transaction
class GetDocumentState
def initialize(uuid:, token:, config: nil)
@config = config || Atol.config
raise(Atol::ConfigExpectedError) unless @config.is_a?(Atol::Config)
+
@params = { uuid: uuid, token: token, config: @config }
end
def call
request = Atol::Request::GetDocumentState.new(@params)