README.md in archivesspace-client-0.1.12 vs README.md in archivesspace-client-0.2.0
- old
+ new
@@ -43,10 +43,11 @@
username: "admin",
password: "123456",
page_size: 50,
throttle: 0,
verify_ssl: false,
+ timeout: 60
})
client = ArchivesSpace::Client.new(config).login
```
@@ -71,11 +72,12 @@
# or even ...
user = client.users.find { |user| user["username"] == "jdoe" }
```
-See `helpers.rb` for more convenience methods such as `client.digital_objects` etc.
+See `pagination.rb` for endpoints that support record type methods such as
+`client.digital_objects` etc.
**Setting a repository context**
Use the `repository` method to add a repository scope to requests (this is optional).
@@ -128,9 +130,10 @@
"base_repo": "",
"username": "admin",
"password": "123456",
"page_size": 50,
"throttle": 0,
+ "timeout": 60,
"verify_ssl": false
}
```
Run commands: