lib/universign/service/document.rb in ruby_universign-1.5.0 vs lib/universign/service/document.rb in ruby_universign-1.5.1

- old
+ new

@@ -3,10 +3,10 @@ module Document # Retrieve documents signed # # @return [Array<Universign::Document>] def documents - @client = Universign::Client.instance + @client = Universign::Client.new @documents ||= safeguard do result = @client.call('requester.getDocuments', @transaction_id) result.map do |document| Universign::Document.from_data(document)