Skip to content
This repository has been archived by the owner on Mar 7, 2023. It is now read-only.

Card declined() #277

Merged
merged 1 commit into from Sep 15, 2016
Merged

Card declined() #277

merged 1 commit into from Sep 15, 2016

Conversation

Sjors
Copy link
Contributor

@Sjors Sjors commented Sep 15, 2016

This should make #630 easier. Just call declined() on a trade object to change its state to rejected. It will even stay rejected if you refresh() the trade.

I intentionally did not make this generic for all states, because I don't think that's safe.

Let me know if there are other states that need to be overridden. I suspect there's only a small number of cases where there are race conditions (the Coinify API lagging behind the iSignThis iframe) we need to deal with.

Copy link
Contributor Author

@Sjors Sjors left a comment

Choose a reason for hiding this comment

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

Why can I review my own changes? Wonderful! :-)

@jtormey jtormey merged commit 5a380a8 into master Sep 15, 2016
@jtormey jtormey deleted the declined branch September 15, 2016 14:18
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants