Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create an endpoint for modifying an object's embargo date #356

Merged
merged 1 commit into from Aug 30, 2019

Conversation

mjgiarlo
Copy link
Member

Fixes #353

And create a new event on the object associated with the modification.

Fixes #353

And create a new event on the object associated with the modification.
@mjgiarlo mjgiarlo added this to Needs Review in Infrateam Aug-Sep 2019 via automation Aug 29, 2019
@coveralls
Copy link

Coverage Status

Coverage increased (+0.01%) to 97.312% when pulling f64f371 on embargo_date_endpoint_353 into 17ea0d2 on master.

@justinlittman justinlittman merged commit 27dcabc into master Aug 30, 2019
Infrateam Aug-Sep 2019 automation moved this from Needs Review to Done Aug 30, 2019
@justinlittman justinlittman deleted the embargo_date_endpoint_353 branch August 30, 2019 11:04
@@ -56,6 +56,16 @@ def update_marc_record
head :created
end

def update_embargo
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder if this should be on an embargo controller (e.g. `EmbargosController#update)? Embargos controller could be nested under objects.

Copy link
Member Author

@mjgiarlo mjgiarlo Sep 1, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jcoyne Oh, I like that even better. Worth ticketing/revising, or meh?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, let's fix it now before we change the client.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jcoyne ok, will do that momentarily.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

Create an endpoint that allows an embargo date to be modified.
4 participants