Sha256: 2f6f00ac5a48d0d3ec8251ae3aac727cd1a9ea717929df81f63b8f27fd911e7b

Contents?: true

Size: 1016 Bytes

Versions: 11

Compression:

Stored size: 1016 Bytes

Contents

[![Build Status](https://travis-ci.org/sul-dlss/dor-workflow-service.svg?branch=master)](https://travis-ci.org/sul-dlss/dor-workflow-service)

# dor-workflow-service gem

A Ruby client to work with the DOR Workflow REST Service. The REST API is defined here:
https://consul.stanford.edu/display/DOR/DOR+services#DORservices-initializeworkflow

## Usage

To initialize usage of the service, you need to call `Dor::WorkflowService.configure`, like in a bootup or startup method,
e.g.:

```ruby
Dor::WorkflowService.configure('https://test-server.edu/workflow/')
```

If you plan to archive workflows, then you need to set the URL to the Dor REST service:

```ruby
Dor::WorkflowService.configure('https://test-server.edu/workflow/', :dor_services_url => 'https://sul-lyberservices-dev.stanford.edu/dor')
```

There's no need to call `Dor::WorkflowService.configure` if using the `dor-services` gem and using the `Dor::Config`
 object.  The latest versions of `dor-services` will configure the workflow service for you.

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
dor-workflow-service-2.12.0 README.md
dor-workflow-service-2.11.0 README.md
dor-workflow-service-2.10.2 README.md
dor-workflow-service-2.10.1 README.md
dor-workflow-service-2.10.0 README.md
dor-workflow-service-2.9.0 README.md
dor-workflow-service-2.8.0 README.md
dor-workflow-service-2.7.0 README.md
dor-workflow-service-2.6.0 README.md
dor-workflow-service-2.5.0 README.md
dor-workflow-service-2.4.0 README.md