Closed justinlittman closed 4 years ago
Never mind, it looks like { druid: JSON.parse(response.body)['druid'], background_job: response.headers['Location'] }
is returned: https://github.com/sul-dlss/sdr-client/blob/master/lib/sdr_client/deposit/process.rb#L98
SdrClient::Deposit.run
should return the druid of the new deposit. (It is returned by the API.)See also https://github.com/sul-dlss/sdr-api/issues/94