Sha256: c470c7fc6bb0fb17414355bc96f68f072664adf2094d7fc1855dd6d8ac85591e
Contents?: true
Size: 449 Bytes
Versions: 3
Compression:
Stored size: 449 Bytes
Contents
$LOAD_PATH.unshift File.expand_path('../../lib', __FILE__) require 'awesome_print' require 'archivesspace/client' username = "mrx" password = "123456" # default client connection: localhost:8089, admin, admin client = ArchivesSpace::Client.new.login begin client.password_reset username, password puts "Successfully updated password for #{username}." rescue Exception => e puts "Failed to update password for #{username},\n#{e.message}" end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
archivesspace-client-0.1.2 | examples/password_reset.rb |
archivesspace-client-0.1.1 | examples/password_reset.rb |
archivesspace-client-0.1.0 | examples/password_reset.rb |