lib/atol/transaction/post_document.rb in atol-0.7 vs lib/atol/transaction/post_document.rb in atol-0.7.1
- old
+ new
@@ -7,9 +7,10 @@
module Transaction
class PostDocument
def initialize(operation:, token:, body:, config: nil, req_logger: nil, res_logger: nil)
@config = config || Atol.config
raise(Atol::ConfigExpectedError) unless @config.is_a?(Atol::Config)
+
@params = {
operation: operation,
token: token,
body: body,
config: config,